Back to rankings
asmallteapot/cocoapods-playgrounds
Ruby:black_joker: Generate Swift Playgrounds for any library.
swiftswift-playgroundscocoapodscarthage
Key Metrics
Star Growth
Stars
1.3k
Forks
37
Weekly Growth
—
Issues
17
5001k
Feb 2016Oct 2017Jul 2019Apr 2021Jan 2023Oct 2024Jul 2026
ArtifactsRubyGems
gem install cocoapods-playgroundsREADME
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
Related repositories