https://github.com/asmallteapot/cocoapods-playgrounds
:black_joker: Generate Swift Playgrounds for any library.
https://github.com/asmallteapot/cocoapods-playgrounds
carthage cocoapods swift swift-playgrounds
Last synced: 6 months ago
JSON representation
:black_joker: Generate Swift Playgrounds for any library.
- Host: GitHub
- URL: https://github.com/asmallteapot/cocoapods-playgrounds
- Owner: asmallteapot
- License: mit
- Archived: true
- Created: 2016-02-10T20:26:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-03-11T07:44:01.000Z (over 6 years ago)
- Last Synced: 2024-05-02T00:23:21.839Z (about 1 year ago)
- Topics: carthage, cocoapods, swift, swift-playgrounds
- Language: Ruby
- Homepage:
- Size: 267 KB
- Stars: 1,296
- Watchers: 25
- Forks: 42
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# CocoaPods Playgrounds
[](https://rubygems.org/gems/cocoapods-playgrounds)
[](https://github.com/asmallteapot/cocoapods-playgrounds/blob/master/LICENSE.txt)
[](https://travis-ci.org/asmallteapot/cocoapods-playgrounds)Generate a Swift Playground for any CocoaPod or Carthage module.

## Installation
$ gem install cocoapods-playgrounds
## Usage
### CocoaPods
To generate a Playground for a specific Pod:
$ pod playgrounds Alamofire
To generate a Playground for a local development Pod:
$ pod playgrounds ../../../Sources/Alamofire/Alamofire.podspec
To generate a Playground with multiple Pods:
$ pod playgrounds RxSwift,RxCocoa
### Carthage
To generate a Playground for a Carthage-enabled library:
$ carthage-play Alamofire/Alamofire
Note: This currently assumes that libraries are hosted on GitHub.
### CLI
To generate an empty Playground from the commandline:
$ playground --platform=ios YOLO
$ open YOLO.playground