/Awesome-Swift-Playgrounds

A List of Awesome Swift Playgrounds

Primary LanguageSwiftOtherNOASSERTION

Awesome Swift Playgrounds Awesome

A curated list of awesome Swift playgrounds.

Contributing

Please take a quick look at the contribution guidelines first. Thanks to all contributors; you rock!

If you see a playground here that does not work anymore with the current release of Xcode or is not a good fit, please submit a pull request to improve this file or consider updating it. Thank you!

Tags

🌟 = My personal favorites

📱 = iOS Playground

☘️ = Swift 3+ Playground

Contents

Learning Swift

Some interesting playgrounds to learn Swift

Learning Swift: Advanced Topics

Advanced topics, useful once you have mastered the basics of the language

Design Patterns

Protocol Oriented Programming

Functional Reactive Programming

Apple's Playgrounds

Playgrounds from Apple, usually presented at some WWDC

Playgrounds about Playgrounds

Playgrounds that describe what you can do with playgrounds

Theoretical Computer Science

Algorithms and Data Structures

Algorithms and data structures implemented in Swift

Languages

Programming language interpreters implemented in Swift

UIKit And Graphics

A list of playgrounds that demostrate various aspect of UIKit and other graphical frameworks

###Core Image

###Metal

  • METAL Playground - Apple Metal framework playground. 🌟
  • Metalbrot - Interactive playground that draws the Mandelbrot fractal with Metal. 🌟 ☘️

Animations

SpriteKit

Audio

Sounds and music

  • AudioKit Playground Book - A set of playgrounds using AudioKit designed for the iOS10 Playgrounds app. 📱
  • Bach Playground - A Simple Swift Playground that plays a brief piece by Bach with AVAudioEngine and AVMIDIPlayer.
  • PlayerNode Playground - Playground using AVAudioEngine with a playernode and effects to play an audio file. 🌟

Mathematics

Live math with playgrounds

Libraries and APIs

Library tutorials, in a playground

  • Argo Playground - JSON decoding with Argo.
  • S3Uploader - A playground to upload images to AWS S3.
  • AudioKit Playgrounds - 130+ Audio synthesis, processing, playback, and analysis playgrounds with AudioKit. ☘️
  • AIToolbox - A set of playgrounds showing machine learning algorithms, all implemented with pieces of the AIToolbox framework code. ☘️
  • Realm Swift Playground - A playground that demos the basic features of Realm in swift.
  • Cognitive Service APIs - Get started with the Microsoft Cognitive Services APIs. ☘️

Playground Sets

Sets of playgrounds about various topics

Miscellaneous

What doesn't fit anywhere else, but still awesome

  • Turtle Playground - A playground with Logo-like commands. 🌟
  • Game Boards - Chess, checkers, tic-tac-toe, sudoku and many others in playground. 🌟
  • Icon Creator - Create app icons on Swift playground. ☘️
  • StarWars Seals - Emblems from Star Wars in Swift playgrounds via CoreGraphics and UIViews
  • SwiftFiles - Save, Load and Delete files easily from within a Swift playground.
  • Register VM - A register-based VM in a Swift playground. 🌟
  • Earth photos - A slideshow of Earth photos taken by DSCOVR/EPIC. 🌟
  • 2048 Playground - The 2048 game implemented with a playground. ☘️
  • File Browser Playground - Simple File Browser for Swift Playgrounds on iOS.📱
  • SwiftShell - Bash shell in a playground. ☘️