Generate a Swift Playground for any CocoaPod or Carthage module.

$ gem install cocoapods-playgrounds
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
To generate a Playground for a Carthage-enabled library:
$ carthage-play Alamofire/Alamofire
Note: This currently assumes that libraries are hosted on GitHub.
To generate an empty Playground from the commandline:
$ playground --platform=ios YOLO
$ open YOLO.playground
1,013 followers · starred Feb 2016
3,647 followers · starred Jan 2017
847 followers · starred Feb 2016
749 followers · starred Feb 2016
Generate a Swift Playground for any CocoaPod or Carthage module.

$ gem install cocoapods-playgrounds
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
To generate a Playground for a Carthage-enabled library:
$ carthage-play Alamofire/Alamofire
Note: This currently assumes that libraries are hosted on GitHub.
To generate an empty Playground from the commandline:
$ playground --platform=ios YOLO
$ open YOLO.playground
1,013 followers · starred Feb 2016
3,647 followers · starred Jan 2017
847 followers · starred Feb 2016
749 followers · starred Feb 2016