• This repository has been archived on 06/May/2021
  • Stars
    star
    1,296
  • Rank 36,309 (Top 0.8 %)
  • Language
    Ruby
  • License
    MIT License
  • Created almost 9 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿƒ Generate Swift Playgrounds for any library.

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