---
visibility: public
---

# Playgrounds

**repo:** [uraimo/Awesome-Swift-Playgrounds](https://github.com/uraimo/Awesome-Swift-Playgrounds)  
**category:** [[programming-languages|Programming Languages]]
**related:** [[swift|Swift]] · [[ios|Ios]]

---

# Awesome Swift Playgrounds [

> A curated list of awesome Swift playgrounds.

### Contributing

Please take a quick look at the [contribution guidelines](https://github.com/uraimo/awesome-swift-playgrounds/blob/master/CONTRIBUTING.md) first. Thanks to all [contributors](https://github.com/uraimo/awesome-swift-playgrounds/graphs/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!

### Downloading all the playgrounds

Unless otherwise indicated, all playgrounds are compatible with Swift 3.

All the playgrounds are available as submodules in the `playgrounds/` directory, to download them all in one go, just clone this repository with `git clone --recursive https://github.com/uraimo/Awesome-Swift-Playgrounds.git` or execute `git submodule update --init` after you have cloned the repository the usual way. 

Apple's playgrounds distributed as zip archives have to be downloaded manually.

### Tags

🌟 = My personal favorites

🍁 = Swift 4+ Playground

⏳ = Pre-Swift 3 Playground

### Contents

- [WWDC Students Submissions](#wwdc-students-submissions)
- [PlaygroundBooks](#playgroundbooks)
- [Learning Swift](#[learning](/@harrisonqian/awesome/wiki/programming-languages/learning)-swift)
- [Learning [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift): Advanced Topics](#[learning](/@harrisonqian/awesome/wiki/programming-languages/learning)-swift-advanced-topics)
  - [Design Patterns](#design-patterns)
  - [Protocol Oriented Programming](#protocol-oriented-programming)
  - [Functional Reactive Programming](#functional-reactive-programming)
- [Apple's Playgrounds](#apples-playgrounds)
- [Playgrounds about Playgrounds](#playgrounds-about-playgrounds)
- [Playgrounds from Playgroundbooks](#playgrounds-from-playgroundbooks)
- [Theoretical Computer Science](#theoretical-computer-science)
    - [Algorithms and Data Structures](#[algorithms](/@harrisonqian/awesome/wiki/theory/algorithms)-and-data-structures)
    - [Languages](#languages)
    - [Machine Learning](#machine-learning)
- [UIKit And Graphics](#uikit-and-graphics)
  - [Core Image](#[core](/@harrisonqian/awesome/wiki/platforms/core)-image)
  - [Metal](#metal)
  - [Animations](#animations)
  - [SpriteKit](#spritekit)
- [Audio](#audio)
- [Mathematics](#mathematics)
- [Libraries and APIs](#libraries-and-apis)
- [Playground sets](#playground-sets)
- [Miscellaneous](#miscellaneous)

## WWDC Students Submissions
*Playgrounds submitted by students for the WWDC scholarship*

- Latest: [2026](https://github.com/wwdc/2026)
- Past Editions: [2025](https://github.com/wwdc/2025), [2024](https://github.com/wwdc/2024), [2023](https://github.com/wwdc/2023), [2022](https://github.com/wwdc/2022), [2021](https://github.com/wwdc/2021), [2020](https://github.com/wwdc/2020), [2019](https://github.com/wwdc/2019), [2018](https://github.com/wwdc/2018), [2017](https://github.com/wwdc/2017), [2016](https://github.com/wwdc/2016), [2015](https://github.com/wwdc/2015), [2014](https://github.com/wwdc/2014)

## PlaygroundBooks
*Playgrounds that can be run on your iPad*

* [Guilloche Pattern Playground Book](https://github.com/TheWildHorse/GuillochePlayground) - Learn more about this pattern you see every day, but probably never knew it was really carefully designed. 🍁
* [Accessibility](https://github.com/xReee/wwdc2018) - Accessibility for iOS developers. 🍁 
* [TJBot Playground](https://github.com/jweisz/tjbot-playground) - [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Playground for interacting with IBM's TJBot. 🍁
* [Tree Trouble Playbook](https://github.com/joelrorseth/Tree-Trouble) - An interactive [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Playground Book about Binary Search Trees.
* [Auto Pong](https://github.com/cardoso/AutoPong) - A tutorial to implement a pong based on a simple AI.
* [Neural Network Playground](https://github.com/hetelek/Neural-Network-Playground) - A neural network [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) playground, with no third party dependencies.
* [Window Manager Playground](https://github.com/steventroughtonsmith/windowmanager-playgroundbook) - Playground for an experimental window manager.
* [AudioKit Playground Book](https://github.com/audiokit/Playgrounds) - A set of playgrounds using AudioKit designed for the iPad Playgrounds app.
* [Numsw](https://github.com/sonsongithub/numsw) - A [swift](/@harrisonqian/awesome/wiki/programming-languages/swift) playground book that mimics some of the features of numpy and [jupyter](/@harrisonqian/awesome/wiki/miscellaneous/jupyter) notebook.
* [File Browser Playground](https://github.com/steventroughtonsmith/files-playgroundbook) - Simple File Browser for [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Playgrounds on iOS.
* [Geometry with Swift](https://github.com/dbbudd/Geometry-[Swift](/@harrisonqian/awesome/wiki/programming-languages/swift)-PlaygroundBook) - In this course your students will learn the fundamentals of [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) 3 programming, using geometry as their context for [learning](/@harrisonqian/awesome/wiki/programming-languages/learning). 
* [Image Filtering](https://github.com/lennet/image-filtering) - A [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) playgroundbook about Image Filtering. 🍁🌟
* [Spacetime Rhapsody](https://github.com/hollisliu/Spacetime-Rhapsody) - A [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Playground visualizing gravity based on Einstein's Theory of General Relativity. 🌟
* [Neural Network](https://github.com/lennet/neuralnetwork) - A [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) PlaygroundBook about Neural Networks. 🍁
* [coreml-playground](https://github.com/kkk669/coreml-playground) - [Core](/@harrisonqian/awesome/wiki/platforms/core) ML examples for [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Playgrounds. 🍁
* [SF Symbols Viewer](https://github.com/kkk669/SF-Symbols-Viewer) - An SF Symbols Viewer for [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Playgrounds. 🍁
* [jscore-playground](https://github.com/kkk669/jscore-playground) - A [JavaScript](/@harrisonqian/awesome/wiki/programming-languages/javascript) REPL using JavaScriptCore. 🍁
* [Accessible Reality](https://github.com/aheze/AccessibleReality) - for [learning](/@harrisonqian/awesome/wiki/programming-languages/learning) the basics of ARKit through interactive lessons. 🍁

## Learning Swift
*Some interesting playgrounds to learn Swift*

* [What's new in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) 4](https://github.com/ole/whats-new-in-swift-4) - An Xcode playground showing off the new features in Swift 4.0. 🍁 🌟 
* [What's new in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) 4.2](https://github.com/ole/whats-new-in-swift-4-2) - An Xcode playground showing off the new features in Swift 4.2. 🍁 🌟 
* [Codable Playground](https://github.com/filip-zielinski/CodablePlayground) - Playground that demonstrates advanced uses of Codable. 🍁
* [Generics In Swift](https://github.com/LukeSkywalker55/Generics-In-Swift) - Playground that explains generics. 🍁
* [Swift String Cheat Sheet](https://github.com/kharrison/Playground-Strings) - A quick guide to using Strings with [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift). 🍁
* [About Swift](https://github.com/NicolaLancellotti-About/About-Swift) - A playground about [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) language.  🍁
* [The [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Programming Language Playgrounds](https://github.com/danielpi/Swift-Playgrounds) - 40+ playgrounds, one for each chapter of Apple's Swift book. 🌟
* [Swift Hack Pack](https://github.com/GuildSA/swift-hack-pack) - Collection of playgrounds that teaches [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift).
* [The [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Summary Book](https://github.com/jakarmy/swift-summary) - A summary of Apple's Swift language. 🌟
* [Swifter Tips](https://github.com/swifter-tips/Playground) - Examples for every feature of the [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) language.
* [MPCS51032 UChicago iOS Course](https://github.com/uchicago-mobi/mcps51032-2017-spring-playground) - Playgrounds from the 2017 Spring iOS course of the University of Chicago.

## Learning Swift: Advanced Topics
*Advanced topics, useful once you have mastered the basics of the language*

* [A [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Introduction to [Core](/@harrisonqian/awesome/wiki/platforms/core) Data](https://github.com/andyshep/CoreDataPlaygrounds) - Learn Core Data experimenting directly in this playground. 🌟
* [TDDSwiftPlayground](https://github.com/sshrpe/TDDSwiftPlayground) - Demonstration of using [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Playgrounds in Test Driven Development with XCTest.
* [Concurrency on iOS](https://github.com/sammyd/2017AtSwift_Concurrency) - Concurrency and Parallelism in iOS.
* [Modern [Core](/@harrisonqian/awesome/wiki/platforms/core) Data](https://github.com/dfreniche/modern-core-data-playground) - An introduction to Core Data.
* [Swift DSL Example](https://github.com/cfdrake/swift-dsl-example) - Implementation of a DSL in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift).
* [Katan](https://github.com/marciok/katan) - A micro web server that replies "Hello world!" to every request, an example of how to use sockets in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift).
* [Swift Regular Expressions](https://github.com/ogulcan/SwiftRegEx) - A playground to learn regular expressions with [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift).
* [Network Stack](https://github.com/AndrejKolar/NetworkStack) - Clean & simple [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) networking stack playground.
* [Swiftly Typed Resources](https://github.com/jstart/Swiftly-Typed-Resources) - A playground showing how [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) makes Strings, Colors, [Fonts](/@harrisonqian/awesome/wiki/media/fonts), Images, etc easier to deal with. ⏳
* [Swift KVO Closures](https://github.com/rectalogic/KVOPlayground) - [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) KVO playground. ⏳ 
* [Swift Date Tutorial](https://github.com/liuyubobobo/Swift-NSDate-Tutorial) - Learn everythig about NSDate. ⏳ 
* [Swift And C](https://github.com/MacMark/SwiftAndC) - Examples about using C with [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift). ⏳ 
* [Swift Memory Management](https://github.com/ndethore/swift-memory-management) - How to avoid retain cycles, from [this post](http://detho.re/2016/01/21/writing-memory-efficient-[swift](/@harrisonqian/awesome/wiki/programming-languages/swift)-code/). ⏳

### Design Patterns

* [The Principles of OOD in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) 4](https://github.com/ochococo/OOD-Principles-In-Swift) - The Principles of OOD based on Uncle Bob articles.🍁
* [Design Patterns Playground](https://github.com/edopelawi/DesignPatternsPlayground) - [Learning](/@harrisonqian/awesome/wiki/programming-languages/learning) GoF's Design Patterns in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) 3.
* [iOS Design Patterns](https://github.com/haxpor/ios-design-patterns) - Sample projects for MVC, MVP, MVVM, and VIPER.
* [Design Patterns in Swift](https://github.com/ochococo/Design-Patterns-In-Swift) - Design patterns in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) 3.
* [GOF Swift](https://github.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift) - Learn all 23 Gang of Four patterns using [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift).

### Protocol Oriented Programming

* [Swift Diagram Playgrounds](https://github.com/alskipp/Swift-Diagram-Playgrounds) - Adaptation of the Protocol-Oriented Programming in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) talk from WWDC 2015.
* [Swift Protocol Extensions](https://github.com/davidahouse/SwiftProtocolExtensions) - A playground to explore Protocol Extensions. ⏳ 
* [Battleship Example](https://github.com/vichudson1/Battleship-POP-Example) - An example of how to use Protocol Oriented Programming with the battleship game. ⏳ 

### Functional Reactive Programming

* [ReactiveCocoa Playground](https://github.com/nikita-leonov/ReactiveCocoaPlayground) - The easiest way to get a taste of ReactiveCocoa. ⏳ 
* [Swift Reactive Playground](https://github.com/ColinEberhardt/SwiftReactivePlayground) - Companion to the article: ReactiveCocoa made Simple With [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift). ⏳ 

## Apple's Playgrounds
*Playgrounds from Apple, usually presented at some WWDC*

* [Apple's Mandelbrot Playground](https://github.com/palmerc/Mandelbrot-[Swift](/@harrisonqian/awesome/wiki/programming-languages/swift)-Playground) - A playground with the mandelbrot fractal (updated to Swift 3 by @palmerc, @kemalenver).
* [Interactive Newton's Cradle](https://github.com/p-sun/iOS-Effects-and-Animations/tree/master/Newton'sCradle) - Apple's interactive playground of a Newton's Cradle where collisions and gravity are applyed with UIKit dynamics. 🌟 (updated to [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) 3 by @p-sun) 
* [Apple's Balloons Playground](https://developer.apple.com/swift/blog/downloads/Balloons.zip) - The balloons playground showed at WWDC14. ⏳ 
* [Apple's Crustacean Playground](https://developer.apple.com/sample-code/wwdc/2015/downloads/Crustacean.zip) - Protocol-Oriented Programming with Value Types. ⏳ 
* [Apple's [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Standard Library Playground](https://developer.apple.com/sample-code/swift/downloads/Standard-Library.zip) - experiment with Swift standard library types and high-level concepts using visualizations and practical examples. ⏳ 

## Playgrounds about Playgrounds
*Playgrounds that describe what you can do with playgrounds*

* [XCTest Playground](https://github.com/Liquidsoul/XCTestPlayground) - Better looking tests for playgrounds.
* [Interactive Playground](https://github.com/dasdom/InteractivePlayground) - Exploring interactivity in Playgrounds.
* [Mondrian](https://github.com/timbellay/Mondrian) - Make iOS app mockups in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) 2.x playgrounds. ⏳ 

## Playgrounds from Playgroundbooks
*Playgrounds derived from iPad Swift Playgroundbooks*

* [iPad [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Playgrounds](https://github.com/kushtaneja/iPad_Swift_Playgrounds) - The sample playgroundbooks converted to playgrounds.

## Theoretical Computer Science

* [Functional Debug View](https://github.com/tomquist/DebugView) - Playground to visualize [functional programming](/@harrisonqian/awesome/wiki/programming-languages/functional-programming) with graphical sequences. 🍁 🌟
* [OOP with Functions in Swift](https://github.com/iamleeg/OOPInFPInSwift) - Object-Oriented Programming in [Functional Programming](/@harrisonqian/awesome/wiki/programming-languages/functional-programming) in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift). 🍁
* [Logician](https://github.com/mdiep/Logician) - Logic programming in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift). 🌟
* [Function Composition in Swift](https://github.com/ijoshsmith/function-composition-in-swift) - Exploration of function composition in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift). 🌟
* [Swift Adventures in Monad Land](https://github.com/alskipp/Swift-Adventures-In-Monad-Land) - Learn about monads.
* [Functional Design Patterns](https://github.com/cmvicentehe/FunctionalProgrammingDesignPatterns) - A few [functional programming](/@harrisonqian/awesome/wiki/programming-languages/functional-programming) concept and patterns.
* [Learn about transducers](https://github.com/mbrandonw/learn-transducers-playground) - A little tutorial that explains transducers. ⏳ 
* [Swift Functors, Applicatives, and Monads in Pictures](https://github.com/mokacoding/Swift-Functors-Applicative-Monads-In-Pictures-Playground) - Companion to the article: [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Functors, Applicatves, and Monads in Pictures. ⏳ 
* [Functors in Swift](https://github.com/mokagio/Swift-Functor-Introduction-Playground) - A playground to introduce Functors in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift), and their practical usage. ⏳ 

### Algorithms and Data Structures
*Algorithms and data structures implemented in Swift*

* [Animated Sorting Algorithms](https://github.com/p-sun/Animated-Sorting-Algorithms) - [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) 4 playgrounds to view and manipulate sorting [algorithms](/@harrisonqian/awesome/wiki/theory/algorithms).🍁
* [Expressions](https://github.com/mpangburn/Expressions) - Arithmetic and logical expressions elegantly modeled and visualized using protocol-oriented binary trees.🍁
* [Swift Algorithm Club](https://github.com/raywenderlich/swift-algorithm-club) - [Algorithms](/@harrisonqian/awesome/wiki/theory/algorithms) and data structures in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) with explanations. 🌟
* [Sorting Experiments](https://github.com/adrfer/Sort) - Alluring experiments with sorting [algorithms](/@harrisonqian/awesome/wiki/theory/algorithms) in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift), sort of.
* [Visual Binary Trees](https://github.com/akpw/VisualBinaryTrees) - Effortless visualization of arbitrary Binary Trees, along with their pluggable traversal implementations. 🌟
* [Julia Fractal Playground](https://github.com/gongzhang/julia-set-playground#[julia](/@harrisonqian/awesome/wiki/programming-languages/julia)-set-playground) - A [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) playground that generates beautiful [Julia](/@harrisonqian/awesome/wiki/programming-languages/julia) set fractal images. 
* [A Star](https://github.com/Dev1an/A-Star) - Protocol oriented A* pathfinding algorithm implementation in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) 4.🍁
* [DataStructures Playground](https://github.com/oliverfoggin/DataStructuresPlayground) - Data Structures and [Algorithms](/@harrisonqian/awesome/wiki/theory/algorithms) in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift). ⏳
* [Swiftography](https://github.com/sketchytech/Swiftography) - Standard cryptographic [algorithms](/@harrisonqian/awesome/wiki/theory/algorithms) in a [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Playground. ⏳
* [Algorithms Playground](https://github.com/ashokgelal/AlgorithmsPlayground) - Various algorithm implementation in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift). ⏳
* [The Jelly Bean Problem](https://github.com/kyleweiner/Jelly-Bean-Problem) - The Jelly Bean problem from Wait But Why. ⏳
* [Euclidean Strings](https://github.com/modulusMathews/ReEuclid) - A playground leveraging ReSwift to generate Euclidean Strings. ⏳

### Languages
*Programming language interpreters implemented in Swift*

* [Introduction to Compilers](https://github.com/ahoppen/introduction-to-compilers) - Great introduction to the inner workings of compilers. 🍁🌟
* [Pascal Interpreter](https://github.com/igorkulman/SwiftPascalInterpreter) - Simple [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) interpreter for the [Pascal](/@harrisonqian/awesome/wiki/programming-languages/pascal) language inspired by the Let’s Build A Simple Interpreter article series. 🍁
* [Write your own language: Mu](https://github.com/marciok/Mu) - A playground explaining how to create a tiny programming language named Mu. 🌟
* [ASM Swift](https://github.com/NSExceptional/ASM-Swift) - A playground for [learning](/@harrisonqian/awesome/wiki/programming-languages/learning) Assembly language through [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift). 🌟
* [Let's build a compiler in Swift](https://github.com/mkchoi212/LBAC-Swift) - Let's Build a Compiler by Jack Crenshaw translated to [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Playgrounds. 🌟 
* [Register VM](https://github.com/brianhill/register-vm-in-swift) - A register-based VM in a [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) playground. 🌟 ⏳
* [Turtle Playground](https://github.com/dimsumthinking/TurtlePlayground) - A playground with Logo-like commands. 🌟 ⏳
* [Swift Brainfuck](https://github.com/xavieryao/Swift-Brainfuck) - Brainfuck interpreter written in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) using Playground. ⏳

### Machine Learning

* [Emoji Intelligence](https://github.com/BilalReffas/EmojiIntelligence) - Neural Network built in Apple Playground using [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift). 🌟  

## UIKit And Graphics
*A list of playgrounds that demostrate various aspect of UIKit and other graphical frameworks*

* [UIStackView Playground](https://github.com/dasdom/UIStackViewPlayground) - Interesting examples of use of UIStackViews.🌟
* [Bezier Path Playgrounds](https://github.com/DigitalLeaves/BezierPathPlaygrounds) - Some playgrounds to better understand UIBezierPaths.
* [UIKit playground](https://github.com/ralfebert/uikit-playground) - Playgrounds to experiment interactively with UIKit views.
* [UIDynamic Playground](https://github.com/andresbrun/UIDynamicsPlayground) - Multiple Playgrounds using almost every behaviour of UIDynamic.
* [WWDC16 Typography](https://github.com/tototti/wwdc16_typography_playground) 🇯🇵 - Draw a logo or any text with the WWDC16 ASCII texture.  
* [Animated GIF Playground](https://github.com/danielrhammond/GIF-Playground) - [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) playground for generating animated GIFs.
* [RPClarity](https://github.com/RobotsAndPencils/RPClarity) - Shows a technique for blurring an image behind the characters behind one or more UILabels. ⏳
* [Swift Clock](https://github.com/nickoneill/swiftclock) - An animated clock in a [swift](/@harrisonqian/awesome/wiki/programming-languages/swift) playground. ⏳
* [WatchKit Asset Playground](https://github.com/cwimberger/WatchKitAssetPlayground) - A [swift](/@harrisonqian/awesome/wiki/programming-languages/swift) playground for creating [awesome](/@harrisonqian/awesome/wiki/miscellaneous/awesome) animations for your WatchKit [Apps](/@harrisonqian/awesome/wiki/platforms/apps). ⏳
* [Swift 2.0 Protocol Extension Example](https://github.com/jhurray/Swift2-Protocol-Extension-Example) - Showing how to use Swift2 protocol extensions to render errors in UIViews and UIViewControllers without subclassing or creating classes. ⏳
* [Tinting](https://github.com/Jesse-calkin/tinting) - A small playground to demonstrate image tinting in UIKit. ⏳
* [Ray tracing Playground](https://github.com/mhorga/Raytracing) - A playground and a series of articles on ray tracing, see also part [2](https://github.com/mhorga/Raytracing2), [3](https://github.com/mhorga/Raytracing3), [4](https://github.com/mhorga/Raytracing4), [5](https://github.com/mhorga/Raytracing5) 🌟 ⏳
* [WWDC16 Logo Playground](https://github.com/krutarth/WWDC16Logo) - Drawing the WWDC16 logo in a playground. ⏳

### Core Image

* [Interpolation Playground](https://github.com/FlexMonkey/Interpolation-Playground-) - Playground demonstrating lerp, smooth step, Catcall-Rom and others! ⏳
* [CoreImage for [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Playgrounds](https://github.com/FlexMonkey/CoreImageForSwiftPlaygrounds) - Growing collection of CoreImage playgrounds from the upcoming book "CoreImage For Swift". 🌟 ⏳
* [Image Processor](https://github.com/mortenbrudvik/ImageProcessor) - Implementing different image filter [algorithms](/@harrisonqian/awesome/wiki/theory/algorithms). ⏳

### Metal

* [Metalbrot](https://github.com/jtbandes/metalbrot-playground) - Interactive playground that draws the Mandelbrot fractal with Metal. 🌟
* [METAL Playground](https://github.com/haawa799/METAL_Playground) - Apple Metal framework playground. 🌟 ⏳

### Animations

* [Core Animation [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Playgrounds](https://github.com/rmirabelli/CoreAnimationSwiftPlaygrounds) - A set of interesting [Core](/@harrisonqian/awesome/wiki/platforms/core) Animation playgounds.
* [UIViewPropertyAnimator Playground](https://github.com/mathewsanders/Scrubber) - Playground demonstrating UIViewPropertyAnimator.
* [WWDC Crowd Simulator 2017](https://github.com/neilsardesai/WWDC-Crowd-Simulator-2017) - A SpriteKit experiment to simulate the WWDC2017 logo crowd.
* [Duet-Inspired Trail Effect](https://github.com/dionlarson/Duet-Trail-Effect-SpriteKit-Playground) - How to get a Duet style trailing effect in SpriteKit.
* [Additive Animations](https://github.com/d-ronnqvist/Additive-Animations-Playground) - Experiment with multiple additive animations in [Core](/@harrisonqian/awesome/wiki/platforms/core) Animation. ⏳
* [Core Animation Playground](https://github.com/knightsc/CoreAnimationPlayground) - Companion to Apple's [Core](/@harrisonqian/awesome/wiki/platforms/core) Animation Programming Guide. ⏳
* [Core Animation Timing](https://github.com/Kentzo/CoreAnimationTiming) - Playground demonstrating effects of CAMediaTiming properties. 🍁

### SpriteKit

* [SceneKit ARKit Demo](https://github.com/mhanlon/ARKitDemoPlayground) - The Xcode 9 ARKit SpriteKit demo as a playground.🍁
* [SpriteKit [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) 3](https://github.com/MacMeDan/SpriteKitCollisions) - Playground for exploring Sprite Kit.
* [SpriteKit Collisions](https://github.com/jaredmpayne/SpriteKitCollisionsPlayground) - Demonstrates how to perform physics collision detection using [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) and SpriteKit. ⏳
* [SceneKit Examples](https://github.com/UCh/swift-scene-kit-playgrounds) - Experiment with SceneKit and [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift). ⏳
* [Astronomy](https://github.com/cl7/Astronomy) - A 3D [earth](/@harrisonqian/awesome/wiki/miscellaneous/earth) model written in [swift](/@harrisonqian/awesome/wiki/programming-languages/swift) playground using SceneKit.

## Audio
*Sounds and music*

* [Bach Playground](https://github.com/dreamwieber/BachPlayground) - A Simple [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Playground that plays a brief piece by Bach with AVAudioEngine and AVMIDIPlayer.
* [PlayerNode Playground](https://github.com/genedelisa/PlayerNodePlayground) - Playground using AVAudioEngine with a playernode and effects to play an audio file. 🌟
* [Miles](https://github.com/lalomts/Miles) - A [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Playground that creates jazz improvisations in any key using AudioToolbox and AVFoundation. 
* [Rhythm Snap](https://github.com/carlosmbe/Rhythm-Snap) - A [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Playground using Vision and AVFoundation to help you practice rhythm in a fun way.🍁

## Mathematics
*Live math with playgrounds*

* [Guilloche Pattern Playground Book](https://github.com/TheWildHorse/GuillochePlayground) - Learn more about this pattern you see every day, but probably never knew it was really carefully designed. 🍁
* [Lindenmayer Systems](https://github.com/henrinormak/lindenmayer) - A [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) playground exploring Lindemayer systems.
* [Swift Natural Numbers](https://github.com/jakebromberg/Swift-Natural-Numbers) - A playground for implementing the natural numbers and more concepts in number theory.
* [Polydoxical](https://github.com/kirkbyo/Polydoxical) - Interactive playground to experiment with roulettes and polygons.
* [Abstract Algebra](https://github.com/taketo1024/SwiftyMath) - Abstract algebra concepts implemented in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift).
* [Swift Accelerate](https://github.com/haginile/SwiftAccelerate) - Using the Accelerate framework and [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) for Linear Algebra. ⏳
* [Swifty Mathematics](https://github.com/DylanModesitt/swiftyMathematics) - A collection of [swift](/@harrisonqian/awesome/wiki/programming-languages/swift) playground about mathematics. ⏳
* [Numerical Algorithms](https://www.raywenderlich.com/99559/numeric-[algorithms](/@harrisonqian/awesome/wiki/theory/algorithms)-using-playgrounds) - Numerical argorithms playground from Ray Wenderlich. ⏳

## Libraries and APIs
*Library tutorials, in a playground*

* [AudioKit Playgrounds](https://audiokit.io/playgrounds/) - 130+ Audio synthesis, processing, playback, and analysis playgrounds with AudioKit.
* [AIToolbox](https://github.com/KevinCoble/AIToolbox/tree/master/Playgrounds) - A set of playgrounds showing [machine learning](/@harrisonqian/awesome/wiki/computer-science/machine-learning) [algorithms](/@harrisonqian/awesome/wiki/theory/algorithms), all implemented with pieces of the AIToolbox framework code.
* [Cognitive Service APIs](https://github.com/codePrincess/playgrounds) - Get started with the Microsoft Cognitive Services APIs.
* [Rx Playground](https://github.com/sgr-ksmt/RxPlayground) - A playground with RxSwift examples.

## Playground Sets
*Sets of playgrounds about various topics*

* [Parks And Recreation](https://github.com/zwaldowski/ParksAndRecreation) - Great collection of interesting playgrounds, for fun and for profit. 🍁🌟
* [URaimo's Playgrounds](https://github.com/uraimo/Swift-Playgrounds) - My playgrounds, various topics. 🍁
* [Public Extensions](https://github.com/Jasdev/Public-Extension) - A set of useful extensions from [@PublicExtension](https://twitter.com/publicextension). 🌟
* [ManuelCarlos's Playgrouds](https://github.com/manuelCarlos/Swift-Playgrounds) - Various playgrounds.
* [Mgrebenets's Playgrounds](https://github.com/mgrebenets/playgrounds) - Various playgrounds.c 🌟
* [Cocoa With Love Playgrounds](https://github.com/mattgallagher/CocoaWithLovePlaygrounds) - Playground versions of select articles from Cocoa with Love.  🌟 
* [Sketchytech's Playgrounds](https://github.com/sketchytech/SwiftPlaygrounds) - Various Playgrounds. 🌟 ⏳
* [Swift fun playgrounds](https://github.com/madbat/Swift-fun-playgrounds) - A few playgrounds to showcase [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) peculiar features. ⏳
* [BradLarson's Playgrounds](https://github.com/BradLarson/PersonalSwiftPlaygrounds) - Various playgrounds. ⏳
* [Dmikusa's Playgrounds](https://github.com/dmikusa/swift_playgrounds) - Playgrounds that show basic [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift), [JSON](/@harrisonqian/awesome/wiki/miscellaneous/json) parsing, sending HTTP requests and basic file IO. ⏳
* [Cananito's Playgrounds](https://github.com/Cananito/Playgrounds) - Various playgrounds. ⏳
* [Uberbruns's Playgrounds](https://github.com/uberbruns/SwiftPlaygrounds) - Various playgrounds. ⏳

## Miscellaneous
*What doesn't fit anywhere else, but still awesome*

* [Rubik's Cube](https://github.com/codelynx/CoreRubiksCube) - Implementing basic model and behavior of Rubic's Cube in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift). 🍁
* [Icon Creator](https://github.com/tnantoka/IconCreator) - Create app [icons](/@harrisonqian/awesome/wiki/media/icons) on [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) playground.
* [2048 Playground](https://github.com/robin/2048_Playground) - The 2048 game implemented with a playground.
* [SwiftShell](https://github.com/JustinJiaDev/SwiftShell) - Bash [shell](/@harrisonqian/awesome/wiki/development-environment/shell) in a playground.
* [LaunchPad Playground](https://github.com/Juniorlimaivd/LaunchPad-Playground) - A playground that simulates a real LaunchPad for making [music](/@harrisonqian/awesome/wiki/media/music).
* [Super Maze](https://github.com/W00dL3cs/Super-Maze) - A programmatic maze generator and solver.
* [Tic Tac Toe](https://github.com/aabosh/Tic-Tac-Toe) - Tic tac toe in a playground.
* [Pixel Art Maker](https://github.com/BenEmdon/PixelArtMaker) - A playground where you can make [pixel art](/@harrisonqian/awesome/wiki/media/pixel-art).
* [SwiftCoin](https://github.com/Thomvis/Swiftcoin) - A simplistic blockchain & cryptocurrency in a playground.
* [SentimentlySwift](https://github.com/benbahrenburg/SentimentlySwift) - Sentiment analysis in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift). 
* [SwiftChain](https://github.com/gg2001/SwiftChain) - Simple Cryptocurrency in a [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) Playground.
* [Game Boards](https://github.com/joalbright/Gameboard) - [Chess](/@harrisonqian/awesome/wiki/gaming/chess), checkers, tic-tac-toe, sudoku and many others in playground. 🌟 ⏳
* [StarWars Seals](https://github.com/jeremyconkin/StarWarsSeals) - Emblems from Star Wars in [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) playgrounds via CoreGraphics and UIViews. ⏳
* [SwiftFiles](https://github.com/sketchytech/SwiftFiles) - Save, Load and Delete files easily from within a [Swift](/@harrisonqian/awesome/wiki/programming-languages/swift) playground. ⏳
* [Earth photos](https://github.com/jtbandes/DSCOVR.playground) - A slideshow of [Earth](/@harrisonqian/awesome/wiki/miscellaneous/earth) photos taken by DSCOVR/EPIC. 🌟 ⏳
