Skip to content

Small app that creates empty Swift playground files and opens them with Xcode.

License

Notifications You must be signed in to change notification settings

marcboquet/PlayNow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

#PlayNow.app

Tired of having to think of directories and names for your throwaway playground files? PlayNow is here solve all your problems!

Installation

Best way to install is using curl so it bypasses Gatekeeper (Thanks mxcl for the tip!):

cd /Applications && curl -L https://raw.githubusercontent.com/apalancat/PlayNow/gh/PlayNow.tgz | tar x

You can also download it and Control-click to have Gatekeeper give you the option to open it.

Install with Homebrew Cask

  1. Install Homebrew: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  2. Install Cask: brew install cask
  3. Install PlayNow: brew cask install playnow

Configuration

PlayNow creates an iOS playground by default. If you prefer OS X or tvOS playgrounds you can open the file PlayNow.app/Contents/MacOS/PlayNow with your favorite text editor and change platform = "ios" to platform = "osx" or platform = "tvos" (non-favorite text editors could also work).

How to use it?

  1. Open the app with your App Launcher (or manually)
  2. It creates a new Playground in /tmp
  3. The Playground opens automatically in Xcode
  4. ??
  5. Profit

Dock

What is it?

It's just a simple ruby script wrapped in an app that creates empty Swift playground files in your /tmp directory and opens them with Xcode. The script itself is here.

About

Small app that creates empty Swift playground files and opens them with Xcode.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages