Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/asmallteapot/cocoapods-playgrounds
:black_joker: Generate Swift Playgrounds for any library.
https://github.com/asmallteapot/cocoapods-playgrounds
carthage cocoapods swift swift-playgrounds
Last synced: 17 days ago
JSON representation
:black_joker: Generate Swift Playgrounds for any library.
- Host: GitHub
- URL: https://github.com/asmallteapot/cocoapods-playgrounds
- Owner: asmallteapot
- License: mit
- Archived: true
- Created: 2016-02-10T20:26:37.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-03-11T07:44:01.000Z (almost 6 years ago)
- Last Synced: 2024-05-02T00:23:21.839Z (9 months ago)
- Topics: carthage, cocoapods, swift, swift-playgrounds
- Language: Ruby
- Homepage:
- Size: 267 KB
- Stars: 1,296
- Watchers: 25
- Forks: 42
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# CocoaPods Playgrounds
[![RubyGems](https://img.shields.io/gem/v/cocoapods-playgrounds.svg?style=flat)](https://rubygems.org/gems/cocoapods-playgrounds)
[![MIT license](https://img.shields.io/github/license/asmallteapot/cocoapods-playgrounds.svg?style=flat)](https://github.com/asmallteapot/cocoapods-playgrounds/blob/master/LICENSE.txt)
[![Build Status](https://img.shields.io/travis/asmallteapot/cocoapods-playgrounds/master.svg?style=flat)](https://travis-ci.org/asmallteapot/cocoapods-playgrounds)Generate a Swift Playground for any CocoaPod or Carthage module.
![](README_images/alamofire.png)
## 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