为Pod的库创建演示文件SwiftPlayground
文章目录
【注意】最后更新于 October 12, 2018,文中内容可能已过时,请谨慎使用。
{% github asmallteapot cocoapods-playgrounds c54b492 width = 30% %} issues 62
This Could Be Us But You Playing
Generates a Swift Playground for any Pod.
Installation
$ gem install cocoapods-playgrounds
Usage
CocoaPods
To generate a Playground for a specific Pod:
|
|
To generate a Playground for a local development Pod:
|
|
To generate a Playground with multiple Pods:
|
|
Carthage
To generate a Playground for a Carthage-enabled library:
|
|
Note: This currently assumes that libraries are hosted on GitHub.
CLI
To generate an empty Playground from the commandline:
|
|
文章作者 iTBoyer
上次更新 2018-10-12