Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmikusa/swift_playgrounds
A collection of Swift playgrounds demonstrating language basics, JSON parsing, HTTP networking and File IO.
https://github.com/dmikusa/swift_playgrounds
Last synced: 3 months ago
JSON representation
A collection of Swift playgrounds demonstrating language basics, JSON parsing, HTTP networking and File IO.
- Host: GitHub
- URL: https://github.com/dmikusa/swift_playgrounds
- Owner: dmikusa
- Archived: true
- Created: 2015-07-13T02:22:00.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-13T02:58:12.000Z (over 9 years ago)
- Last Synced: 2024-04-27T23:33:51.034Z (6 months ago)
- Language: Swift
- Size: 199 KB
- Stars: 16
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-Swift-Playgrounds - Dmikusa's Playgrounds - Playgrounds that show basic Swift, JSON parsing, sending HTTP requests and basic file IO. ⏳ (Playground Sets / SpriteKit)
README
# Swift Playgrounds
This is a collection of Swift playgrounds that I included in my presentation at the [2015 MacAdmins Conference at Penn State University](http://macadmins.psu.edu/).
It includes playgrounds that show basic Swift, JSON parsing, sending HTTP requests and doing basic file IO.
## Usage
1. Clone the repo. `git clone --recursive https://github.com/dmikusa/swift_playgrounds.git`
2. Open the workspace in XCode. Wait for it to index everything.
3. In the Schema selector, pick SwiftyJSON -> My Mac. Go to the Project menu and pick Build. Repeat for Just-OSX -> My Mac and Alamofire OSX -> My Mac. This will build the frameworks used by the projects.
4. Select a playground or go to Editor -> Execute Playground to refresh it.Note: You only need to perform the first three steps once. After that, you can edit the playgrounds as much as you want.