A curated list of awesome Swift playgrounds.
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!
🌟 = My personal favorites
- Learning Swift
- Learning Swift: Advanced Topics
- Apple's Playgrounds
- Playgrounds about Playgrounds
- Algorithms and Data Structures
- UIKit And Graphics
- Audio
- Mathematics
- Libraries
- Playground sets
- Miscellaneous
Some interesting playgrounds to learn Swift
- Learn Swift - 30+ playgrounds that follow the "Language Guide" section of Apple's Swift book. 🌟 ★ 652, pushed 252 days ago
- The Swift Programming Language Playgrounds - 40+ playgrounds, one for each chapter of Apple's Swift book. 🌟 ★ 76, pushed 167 days ago
- Swift Reference Playground - Reference playground with basic language syntax and examples. ★ 52, pushed 809 days ago
- Swift Worksheets - Learn Swift by reading through and experimenting with playgrounds. ★ 1, pushed 774 days ago
- Swift Crash Course - A Swift crash course, with links explaining the language and a playground for each topic. ★ 6, pushed 168 days ago
- Swift-Introduction - Collection of playgrounds covering various aspect of the Swift language. ★ 51, pushed 148 days ago
- Swift2 by Playgrounds - Learn Swift 2.0 from playgrounds. ★ 8, pushed 273 days ago
- Swift Hack Pack - Collection of playgrounds that teaches Swift.
- SwiftStandardLibraryPlaygrounds - A collection of playground demonstrating the use of the Swift Standard Library. ★ 15, pushed 690 days ago
- MPCS51030 UChicago iOS Course - Playgrounds from the 2015 iOS course of the University of Chicago. ★ 2, pushed 381 days ago
- The Swift Summary Book - A summary of Apple's Swift language. 🌟 ★ 1278, pushed 131 days ago
- Swifter Tips - Examples for every feature of the Swift language.
Advanced topics, useful once you have mastered the basics of the language
- A Swift Introduction to Core Data - Learn Code Data experimenting directly in this playground. 🌟
- Swiftly Typed Resources - A playground showing how Swift makes Strings, Colors, Fonts, Images, etc easier to deal with. ★ 70, pushed 370 days ago
- TDDSwiftPlayground - Demonstration of using Swift Playgrounds in Test Driven Development with XCTest. ★ 14, pushed 303 days ago
- Swift DSL Example - Implementation of a DSL in Swift. ★ 7, pushed 312 days ago
- Swift KVO Closures - Swift KVO playground. ★ 7, pushed 753 days ago
- Swift Data Tutorial - Learn everythig about NSDate. ★ 5, pushed 245 days ago
- Swift And C - Examples about using C with Swift. ★ 0, pushed 311 days ago
- Swift Memory Management - How to avoid retain cycles, from this post . ★ 0, pushed 227 days ago
- Concurrency on iOS - Concurrency and Parallelism in iOS.
- Design Patterns Playgrounds - Playground that show various traditional design patterns. ★ 25, pushed 172 days ago
- Design Patterns Playground - Learning GoF's Design Patterns in Swift 2. ★ 5, pushed 143 days ago
- Swift Diagram Playgrounds - Adaptation of the Protocol-Oriented Programming in Swift talk from WWDC 2015. ★ 219, pushed 279 days ago
- Swift Protocol Extensions - A playground to explore Protocol Extensions. ★ 18, pushed 393 days ago
- Battleship Example - An example of how to use Protocol Oriented Programming with the battleship game. ★ 3, pushed 215 days ago
- ReactiveCocoa Playground - The easiest way to get a taste of ReactiveCocoa. ★ 84, pushed 206 days ago
- Swift Reactive Playground - Companion to the article: ReactiveCocoa made Simple With Swift. ★ 23, pushed 733 days ago
Playgrounds from Apple, usually presented at some WWDC
- Apple's Mandelbrot Playground - A playground with the mandelbrot fractal (updated to Swift2 by @palmerc). ★ 2, pushed 229 days ago
- Apple's Balloons Playground - The balloons playground showed at WWDC14.
- Interactive Playgrounds - Playground that presents the interactive playgrounds feature with a UIKit dynamics Newton's cradle. 🌟
- Apple's Crustacean Playground - Protocol-Oriented Programming with Value Types
- Apple's Swift Standard Library Playground - experiment with Swift standard library types and high-level concepts using visualizations and practical examples.
Playgrounds that describe what you can do with playgrounds
- Interactive Playground - Exploring interactivity in Playgrounds in Xcode 7.3. ★ 29, pushed 213 days ago
- XCTest Playground - Better looking tests for playgrounds ★ 4, pushed 215 days ago
- Mondrian - Make iOS app mockups in Swift 2.x playgrounds. ★ 0, pushed 225 days ago
Algorithms and data structures implemented in Swift
- Learn about transducers - A little tutorial that explains transducers. ★ 60, pushed 659 days ago
- Swift Functors, Applicatives, and Monads in Pictures - Companion to the article: Swift Functors, Applicatves, and Monads in Pictures. ★ 33, pushed 259 days ago
- Functors in Swift - A playground to introduce Functors in Swift, and their practical usage. ★ 6, pushed 421 days ago
- DataStructures Playground - Data Structures and Algorithms in Swift. ★ 13, pushed 433 days ago
- Swiftography - Standard cryptographic algorithms in a Swift Playground. ★ 8, pushed 217 days ago
- Algorithms Playground - Various algorithm implementation in Swift. ★ 1, pushed 460 days ago
- Dynamic Programming With Swift - A set of three dynamic programming problems implemented in a Swift. ★ 0, pushed 256 days ago
- Swift Algorithm Club - Algorithms and data structures in Swift with explanations. 🌟
- Sorting Experiments - Alluring experiments with sorting algorithms in Swift, sort of. ★ 2, pushed 151 days ago
- The Jelly Bean Problem - The Jelly Bean problem from Wait But Why. ★ 2, pushed 179 days ago
- Euclidean Strings - A playground leveraging ReSwift to generate Euclidean Strings. ★ 1, pushed 160 days ago
A list of playgrounds that demostrate various aspect of UIKit and other graphical frameworks
- UIStackView Playground - Interesting examples of use of UIStackViews.🌟 ★ 248, pushed 288 days ago
- Bezier Path Playgrounds - Some playgrounds to better understand UIBezierPaths. ★ 10, pushed 406 days ago
- RPClarity - Shows a technique for blurring an image behind the characters behind one or more UILabels. ★ 33, pushed 390 days ago
- Swift Clock - An animated clock in a swift playground. ★ 14, pushed 661 days ago
- Checkmark Button - Animated check mark button. ★ 5, pushed 220 days ago
- UIKit playground - Playgrounds to experiment interactively with UIKit views. ★ 5, pushed 331 days ago
- WatchKit Asset Playground - A swift playground for creating awesome animations for your WatchKit Apps. ★ 3, pushed 483 days ago
- Swift 2.0 Protocol Extension Example - Showing how to use Swift2 protocol extensions to render errors in UIViews and UIViewControllers without subclassing or creating classes. ★ 39, pushed 343 days ago
- Tinting - A small playground to demonstrate image tinting in UIKit. ★ 0, pushed 277 days ago
- Animated GIF Playground - Swift playground for generating animated GIFs. ★ 2, pushed 187 days ago
- Ray tracing Playground - A playground and a series of articles on ray tracing, see also part 2 , 3 , 4 , 5 🌟 ★ 9, pushed 167 days ago
- WWDC16 Logo Playground - Drawing the WWDC16 logo in a playground.
- WWDC16 Typography 🇯🇵 - Draw a logo or any text with the WWDC16 ASCII texture.
- Interpolation Playground - Playground demonstrating lerp, smooth step, Catcall-Rom and others! ★ 22, pushed 189 days ago
- CoreImage for Swift Playgrounds - Growing collection of CoreImage playgrounds from the upcoming book "CoreImage For Swift". 🌟 ★ 16, pushed 157 days ago
- Image Processor - Implementing different image filter algorithms. ★ 0, pushed 313 days ago
- METAL Playground - Apple Metal framework playground. 🌟 ★ 31, pushed 788 days ago
- Metalbrot - Interactive playground that draws the Mandelbrot fractal with Metal. 🌟 ★ 22, pushed 196 days ago
- iOS Animation Samples - Experiment with iOS animations. 🌟 ★ 111, pushed 177 days ago
- Additive Animations - Experiment with multiple additive animations in Core Animation. ★ 26, pushed 804 days ago
- Core Animation Playground - Companion to Apple's Core Animation Programming Guide. ★ 2, pushed 377 days ago
- Duet-Inspired Trail Effect - How to get a Duet style trailing effect in SpriteKit. ★ 2, pushed 153 days ago
- Sprite Kit Collisions - Demonstrates how to perform physics collision detection using Swift and Sprite Kit. ★ 23, pushed 207 days ago
- SceneKit Examples - Experiment with SceneKit and Swift. ★ 10, pushed 505 days ago
Sounds and music
- Bach Playground - A Simple Swift Playground that plays a brief piece by Bach with AVAudioEngine and AVMIDIPlayer. ★ 2, pushed 399 days ago
- PlayerNode Playground - Playground using AVAudioEngine with a playernode and effects to play an audio file. 🌟 ★ 1, pushed 231 days ago
Live math with playgrounds
- Lindenmayer Systems - A Swift playground exploring Lindemayer systems. ★ 2, pushed 220 days ago
- Swift Accelerate - Using the Accelerate framework and Swift for Linear Algebra. ★ 48, pushed 778 days ago
- Swifty Mathematics - A collection of swift playground about mathematics. ★ 1, pushed 385 days ago
- Numerical Algorithms - Numerical argorithms playground from Ray Wenderlich.
- Swift Natural Numbers - A playground for implementing the natural numbers and more concepts in number theory. ★ 2, pushed 188 days ago
Library tutorials, in a playground
- Argo Playground - JSON decoding with Argo. ★ 1, pushed 241 days ago
- Parse Playground - Experimenting with Parse.com in Swift. ★ 3, pushed 246 days ago
- S3Uploader - A playground to upload images to AWS S3. ★ 2, pushed 233 days ago
- 100 AudioKit Playgrounds - Audio synthesis and processing 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.
Sets of playgrounds about various topics
- Public Extensions - A set of useful extensions from @PublicExtension . 🌟 ★ 81, pushed 126 days ago
- Sketchytech's Playgrounds - Various Playgrounds. 🌟 ★ 8, pushed 426 days ago
- Parks And Recreation - Great collection of interesting playgrounds, for fun and for profit. 🌟 ★ 61, pushed 139 days ago
- Swift fun playgrounds - A few playgrounds to showcase Swift peculiar features. ★ 5, pushed 537 days ago
- BradLarson's Playgrounds - Various playgrounds. ★ 18, pushed 707 days ago
- Dmikusa's Playgrounds - Playgrounds that show basic Swift, JSON parsing, sending HTTP requests and basic file IO. ★ 12, pushed 420 days ago
- Cananito's Playgrounds - Various playgrounds. ★ 2, pushed 379 days ago
- Mgrebenets's Playgrounds - Various playgrounds. ★ 3, pushed 189 days ago
- Uberbruns's Playgrounds - Various playgrounds. ★ 1, pushed 145 days ago
- URaimo's Playgrounds - My playgrounds, various topics. ★ 49, pushed 150 days ago
- ManuelCarlos's Playgrouds - Various playgrounds.
What doesn't fit anywhere else, but still awesome
- Turtle Playground - A playground with Logo-like commands. 🌟 ★ 118, pushed 197 days ago
- Game Boards - Chess, checkers, tic-tac-toe, sudoku and many others in playground. 🌟 ★ 126, pushed 209 days ago
- Swift Brainfuck - Brainfuck interpreter written in Swift using Playground. ★ 5, pushed 821 days ago
- Icon Creator - Create app icons on Swift playground. ★ 2, pushed 209 days ago
- StarWars Seals - Emblems from Star Wars in Swift playgrounds via CoreGraphics and UIViews ★ 2, pushed 235 days ago
- SwiftFiles - Save, Load and Delete files easily from within a Swift playground. ★ 22, pushed 187 days ago
- Register VM - A register-based VM in a Swift playground. 🌟 ★ 2, pushed 215 days ago
- Earth photos - A slideshow of Earth photos taken by DSCOVR/EPIC. 🌟 ★ 1, pushed 136 days ago
- 2048 Playground - The 2048 game implemented with a playground.