Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

Latest commit

 

History

History
44 lines (24 loc) · 1.25 KB

README.md

File metadata and controls

44 lines (24 loc) · 1.25 KB

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