All Projects → JohnSundell → Playground

JohnSundell / Playground

Licence: mit
Instantly create Swift playgrounds from the command line

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Playground

Whats New In Swift 5 0
An Xcode playground that demonstrates the new features introduced in Swift 5.0.
Stars: ✭ 703 (+79.8%)
Mutual labels:  xcode, playground
Whats New In Swift 5 1
An Xcode playground that demonstrates the new features introduced in Swift 5.1.
Stars: ✭ 122 (-68.8%)
Mutual labels:  xcode, playground
Imagecoordinatespace
UICoordinateSpace for UIImageView image
Stars: ✭ 42 (-89.26%)
Mutual labels:  xcode, playground
Playgrounds
Better playgrounds that work both for Objective-C and Swift
Stars: ✭ 2,586 (+561.38%)
Mutual labels:  playground, swift-playgrounds
Xgen
A Swift package for generating Xcode workspaces & playgrounds
Stars: ✭ 178 (-54.48%)
Mutual labels:  xcode, playground
Julia Set Playground
A Swift playground that generates beautiful Julia set fractal images.
Stars: ✭ 236 (-39.64%)
Mutual labels:  playground, swift-playgrounds
Dyci Main
Dynamic Code Injection Tool for Objective-C
Stars: ✭ 1,103 (+182.1%)
Mutual labels:  xcode, playground
Mockswift
MockSwift is a Mock library written in Swift.
Stars: ✭ 56 (-85.68%)
Mutual labels:  xcode, playground
Whats New In Swift 4
An Xcode playground showcasing the new features in Swift 4.0.
Stars: ✭ 1,860 (+375.7%)
Mutual labels:  xcode, playground
Swift Summary
A summary of Apple's Swift language written on Playgrounds
Stars: ✭ 1,668 (+326.6%)
Mutual labels:  xcode, playground
Swift Playgrounds
Learning Swift by working through example code in playgrounds
Stars: ✭ 199 (-49.1%)
Mutual labels:  playground, swift-playgrounds
Playgroundbook
Tool for Swift Playground books
Stars: ✭ 257 (-34.27%)
Mutual labels:  playground, swift-playgrounds
Audiokit
Swift audio synthesis, processing, & analysis platform for iOS, macOS and tvOS
Stars: ✭ 8,827 (+2157.54%)
Mutual labels:  playground, swift-playgrounds
Playalways
Create Xcode playgrounds from your menu bar
Stars: ✭ 515 (+31.71%)
Mutual labels:  xcode, playground
Testdrive
Quickly try out any Swift pod or framework in a playground
Stars: ✭ 1,612 (+312.28%)
Mutual labels:  xcode, playground
jscore-playground
JavaScriptCore example for Swift Playgrounds
Stars: ✭ 17 (-95.65%)
Mutual labels:  playground, swift-playgrounds
Awesome Swift Playgrounds
A List of Awesome Swift Playgrounds
Stars: ✭ 3,521 (+800.51%)
Mutual labels:  playground, swift-playgrounds
Solarized Dark For Xcode
Solarized Dark Theme for Xcode. Compatible with all modern versions of Xcode since 2013!
Stars: ✭ 358 (-8.44%)
Mutual labels:  xcode
Xcbeautify
A little beautifier tool for xcodebuild
Stars: ✭ 372 (-4.86%)
Mutual labels:  xcode
Ci helloworld
A simple example of how to setup a complete CI environment for C and C++
Stars: ✭ 357 (-8.7%)
Mutual labels:  xcode

Playground

Swift 5.1 SwiftPM @johnsundell

Welcome to playground, a Swift script that enables you to super quickly generate Swift playgrounds from the command line - with or without dependencies - for any supported platform.

It essentially provides a command line interface to Xgen.

Features

  • [X] Generate playgrounds in seconds.
  • [X] Automatically reuse any playground created today, for easy code note taking.
  • [X] Add dependencies to a playground with a simple command - no more fiddling with workspaces.
  • [X] Easily open a Gist or code from a GitHub URL in a playground.
  • [X] Supports iOS, macOS & tvOS.

Usage

Simply run playground and a new playground will be created and opened

$ playground

You can also supply various arguments to customize your playground:

Add a playground at a specific path

$ playground -t ~/MyPlayground

Add some dependencies to your playground

$ playground -d ~/unbox/unbox.xcodeproj,~/files/files.xcodeproj

Open the contents of a Gist, a GitHub URL or any other URL in a playground

$ playground -u https://gist.github.com/JohnSundell/b7f901e8edb89d1396ede4d8db3e8c21

Quickly get started with view code prototyping

$ playground -v

Specify what platform you want the playground to run on

$ playground -p tvOS

For all available options, run $ playground -h

Installation

The easiest way to install playground is using the Swift Package Manager:

$ git clone https://github.com/JohnSundell/Playground.git
$ cd Playground
$ swift build -c release
$ install .build/release/Playground /usr/local/bin/playground

Help, feedback or suggestions?

  • Open a PR if you want to make some change to playground.
  • Contact @johnsundell on Twitter for discussions, news & announcements about playground & other projects.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].