• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

mac-cain13/R.swift.Library: Library containing types used by the R.swift project

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

mac-cain13/R.swift.Library

开源软件地址(OpenSource Url):

https://github.com/mac-cain13/R.swift.Library

开源编程语言(OpenSource Language):

Swift 94.2%

开源软件介绍(OpenSource Introduction):

R.swift.Library Version Carthage compatible License Platform

Library containing types supporting code generated by R.swift

Why use this?

Regular users probably want to include this library to use R.swift. Developers of other libraries can use this library to extend upon the types and code R.swift generates and uses.

Installation

CocoaPods (recommended)

Be aware: If you just want to use R.swift follow the installation instructions for R.swift.

  1. Add pod 'R.swift.Library' to your Podfile
  2. Run pod install

Carthage

  1. Add github "mac-cain13/R.swift.Library" to your Cartfile
  2. Run carthage

Swift Package Manager (Requires Xcode 11)

  1. Open your Xcode project.
  2. Select File > Swift Packages > Add Package Dependency...
  3. Paste https://github.com/mac-cain13/R.swift.Library to the text field and click on the Next button.
  4. Choose appropriate version and click on the Next button. (If you need latest one, just click on the Next button.)
  5. Confirm that Rswift in the Package Product column is checked and your app's name is selected in the Add to Target column.
  6. Click on the Next button.

Manually

As an embedded framework using git submodules.

  1. If your project is not yet a git repository, run git init
  2. Add R.swift.Library as a submodule by running: git submodule add https://github.com/mac-cain13/R.swift.Library.git
  3. Open the new R.swift.Library folder, and drag the R.swift.Library.xcodeproj into the Project Navigator of your application's Xcode project.
  4. Select the R.swift.Library.xcodeproj in the Project Navigator and verify the deployment target matches that of your application target.
  5. Select your application project in the Project Navigator (blue project icon) to navigate to the target configuration window and select the application target under the "Targets" heading in the sidebar.
  6. In the tab bar at the top of that window, open the "General" panel.
  7. Click on the + button under the "Embedded Binaries" section.
  8. Choose the Rswift.framework

The Rswift.framework is automagically added as a target dependency, linked framework and embedded framework in a copy files build phase which is all you need to build on the simulator and a device.

License

R.swift and R.swift.Library are created by Mathijs Kadijk and released under a MIT License.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap