Repository is archived
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Generates a Swift Playground for any Pod.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

< 2.0, >= 1.0.0
 Project Readme

CocoaPods Playgrounds

RubyGems MIT license Build Status

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