Track Awesome Swift Playgrounds Updates Weekly
A List of Awesome Swift Playgrounds
🏠 Home · 🔍 Search · 🔥 Feed · 📮 Subscribe · ❤️ Sponsor · 😺 uraimo/Awesome-Swift-Playgrounds · ⭐ 4K · 🏷️ Programming Languages
Sep 11 - Sep 17, 2023
WWDC Students Submissions
Jun 26 - Jul 02, 2023
Audio / SpriteKit
- Rhythm Snap (⭐1) - A Swift Playground using Vision and AVFoundation to help you practice rhythm in a fun way.🍁
Jun 06 - Jun 12, 2022
WWDC Students Submissions
May 31 - Jun 06, 2021
PlaygroundBooks
- Accessible Reality (⭐25) - for learning the basics of ARKit through interactive lessons. 🍁
Apr 19 - Apr 25, 2021
WWDC Students Submissions
Mar 29 - Apr 04, 2021
WWDC Students Submissions
Feb 24 - Mar 01, 2020
WWDC Students Submissions
Feb 10 - Feb 16, 2020
PlaygroundBooks
- coreml-playground (⭐40) - Core ML examples for Swift Playgrounds. 🍁
- SF Symbols Viewer (⭐17) - An SF Symbols Viewer for Swift Playgrounds. 🍁
- jscore-playground (⭐18) - A JavaScript REPL using JavaScriptCore. 🍁
Jan 27 - Feb 02, 2020
UIKit And Graphics / Animations
- Core Animation Timing (⭐1) - Playground demonstrating effects of CAMediaTiming properties. 🍁
Jun 03 - Jun 09, 2019
PlaygroundBooks
- Image Filtering (⭐79) - A Swift playgroundbook about Image Filtering. 🍁🌟
- Neural Network (⭐60) - A Swift PlaygroundBook about Neural Networks. 🍁
Mar 25 - Mar 31, 2019
WWDC Students Submissions
Mathematics / SpriteKit
- Guilloche Pattern Playground Book (⭐17) - Learn more about this pattern you see every day, but probably never knew it was really carefully designed. 🍁
PlaygroundBooks
- Accessibility (⭐5) - Accessibility for iOS developers. 🍁
- TJBot Playground (⭐33) - Swift Playground for interacting with IBM's TJBot. 🍁
Learning Swift
- What's new in Swift 4 (⭐1.8k) - An Xcode playground showing off the new features in Swift 4.0. 🍁 🌟
- What's new in Swift 4.2 (⭐879) - An Xcode playground showing off the new features in Swift 4.2. 🍁 🌟
- Codable Playground (⭐16) - Playground that demonstrates advanced uses of Codable. 🍁
- Generics In Swift - Playground that explains generics. 🍁
- Swift String Cheat Sheet (⭐58) - A quick guide to using Strings with Swift. 🍁
- About Swift (⭐79) - A playground about Swift language. 🍁
Learning Swift: Advanced Topics / Design Patterns
- The Principles of OOD in Swift 4 (⭐1.9k) - The Principles of OOD based on Uncle Bob articles.🍁
Theoretical Computer Science / Functional Reactive Programming
- Functional Debug View (⭐38) - Playground to visualize functional programming with graphical sequences. 🍁 🌟
- OOP with Functions in Swift (⭐59) - Object-Oriented Programming in Functional Programming in Swift. 🍁
Theoretical Computer Science / Algorithms and Data Structures
- Animated Sorting Algorithms (⭐34) - Swift 4 playgrounds to view and manipulate sorting algorithms.🍁
- Expressions (⭐397) - Arithmetic and logical expressions elegantly modeled and visualized using protocol-oriented binary trees.🍁
Theoretical Computer Science / Languages
- Introduction to Compilers (⭐432) - Great introduction to the inner workings of compilers. 🍁🌟
- Pascal Interpreter (⭐282) - Simple Swift interpreter for the Pascal language inspired by the Let’s Build A Simple Interpreter article series. 🍁
UIKit And Graphics / SpriteKit
- SceneKit ARKit Demo (⭐47) - The Xcode 9 ARKit SpriteKit demo as a playground.🍁
Playground Sets / SpriteKit
- Parks And Recreation (⭐172) - Great collection of interesting playgrounds, for fun and for profit. 🍁🌟
- URaimo's Playgrounds (⭐139) - My playgrounds, various topics. 🍁
Miscellaneous / SpriteKit
- Rubik's Cube (⭐17) - Implementing basic model and behavior of Rubic's Cube in Swift. 🍁
- SwiftChain - Simple Cryptocurrency in a Swift Playground.
Jan 14 - Jan 20, 2019
PlaygroundBooks
- AudioKit Playground Book (⭐189) - A set of playgrounds using AudioKit designed for the iPad Playgrounds app.
Audio / SpriteKit
- Miles (⭐31) - A Swift Playground that creates jazz improvisations in any key using AudioToolbox and AVFoundation.
Libraries and APIs / SpriteKit
- AudioKit Playgrounds - 130+ Audio synthesis, processing, playback, and analysis playgrounds with AudioKit.
Apr 09 - Apr 15, 2018
Learning Swift: Advanced Topics / Design Patterns
- GOF Swift (⭐134) - Learn all 23 Gang of Four patterns using Swift.
UIKit And Graphics / SpriteKit
- SpriteKit Collisions (⭐32) - Demonstrates how to perform physics collision detection using Swift and SpriteKit. ⏳
Mathematics / SpriteKit
- Abstract Algebra (⭐190) - Abstract algebra concepts implemented in Swift.
Feb 12 - Feb 18, 2018
Theoretical Computer Science / Machine Learning
- Emoji Intelligence (⭐1.4k) - Neural Network built in Apple Playground using Swift. 🌟
Dec 25 - Dec 31, 2017
PlaygroundBooks
- Spacetime Rhapsody (⭐25) - A Swift Playground visualizing gravity based on Einstein's Theory of General Relativity. 🌟
UIKit And Graphics / SpriteKit
- Astronomy (⭐29) - A 3D earth model written in swift playground using SceneKit.
Nov 20 - Nov 26, 2017
PlaygroundBooks
- Tree Trouble Playbook (⭐23) - An interactive Swift Playground Book about Binary Search Trees.
- Auto Pong (⭐12) - A tutorial to implement a pong based on a simple AI.
- Neural Network Playground (⭐378) - A neural network Swift playground, with no third party dependencies.
- Window Manager Playground (⭐40) - Playground for an experimental window manager.
- Numsw (⭐133) - A swift playground book that mimics some of the features of numpy and jupyter notebook.
- File Browser Playground (⭐205) - Simple File Browser for Swift Playgrounds on iOS.
- Geometry with Swift (⭐8) - In this course your students will learn the fundamentals of Swift 3 programming, using geometry as their context for learning.
Oct 23 - Oct 29, 2017
Learning Swift: Advanced Topics
- Swift Regular Expressions (⭐12) - A playground to learn regular expressions with Swift.
- Network Stack (⭐35) - Clean & simple Swift networking stack playground.
Apple's Playgrounds / Functional Reactive Programming
- Apple's Balloons Playground - The balloons playground showed at WWDC14. ⏳
Theoretical Computer Science / Algorithms and Data Structures
- A Star (⭐35) - Protocol oriented A* pathfinding algorithm implementation in Swift 4.🍁
UIKit And Graphics / Animations
- Duet-Inspired Trail Effect (⭐25) - How to get a Duet style trailing effect in SpriteKit.
Sep 18 - Sep 24, 2017
Apple's Playgrounds / Functional Reactive Programming
- Interactive Newton's Cradle (⭐10) - Apple's interactive playground of a Newton's Cradle where collisions and gravity are applyed with UIKit dynamics. 🌟 (updated to Swift 3 by @p-sun)
Aug 21 - Aug 27, 2017
Theoretical Computer Science / Languages
- Let's build a compiler in Swift (⭐161) - Let's Build a Compiler by Jack Crenshaw translated to Swift Playgrounds. 🌟
UIKit And Graphics / Metal
- Metalbrot (⭐84) - Interactive playground that draws the Mandelbrot fractal with Metal. 🌟
Playground Sets / SpriteKit
- Mgrebenets's Playgrounds (⭐9) - Various playgrounds.c 🌟
- Cocoa With Love Playgrounds (⭐88) - Playground versions of select articles from Cocoa with Love. 🌟
Miscellaneous / SpriteKit
- Pixel Art Maker (⭐102) - A playground where you can make pixel art.
- SwiftCoin (⭐31) - A simplistic blockchain & cryptocurrency in a playground.
- SentimentlySwift (⭐13) - Sentiment analysis in Swift.
May 29 - Jun 04, 2017
Learning Swift
- The Swift Programming Language Playgrounds (⭐224) - 40+ playgrounds, one for each chapter of Apple's Swift book. 🌟
- Swift Hack Pack (⭐21) - Collection of playgrounds that teaches Swift.
- The Swift Summary Book (⭐1.7k) - A summary of Apple's Swift language. 🌟
- Swifter Tips (⭐125) - Examples for every feature of the Swift language.
- MPCS51032 UChicago iOS Course (⭐7) - Playgrounds from the 2017 Spring iOS course of the University of Chicago.
Learning Swift: Advanced Topics
- A Swift Introduction to Core Data (⭐150) - Learn Core Data experimenting directly in this playground. 🌟
- TDDSwiftPlayground (⭐58) - Demonstration of using Swift Playgrounds in Test Driven Development with XCTest.
- Concurrency on iOS (⭐32) - Concurrency and Parallelism in iOS.
- Modern Core Data (⭐35) - An introduction to Core Data.
- Swift DSL Example (⭐19) - Implementation of a DSL in Swift.
- Katan (⭐25) - A micro web server that replies "Hello world!" to every request, an example of how to use sockets in Swift.
- Swiftly Typed Resources (⭐74) - A playground showing how Swift makes Strings, Colors, Fonts, Images, etc easier to deal with. ⏳
- Swift KVO Closures (⭐11) - Swift KVO playground. ⏳
- Swift Date Tutorial (⭐8) - Learn everythig about NSDate. ⏳
- Swift And C (⭐6) - Examples about using C with Swift. ⏳
- Swift Memory Management (⭐3) - How to avoid retain cycles, from this post. ⏳
Learning Swift: Advanced Topics / Design Patterns
- Design Patterns Playground (⭐27) - Learning GoF's Design Patterns in Swift 3.
- iOS Design Patterns (⭐133) - Sample projects for MVC, MVP, MVVM, and VIPER.
- Design Patterns in Swift (⭐15k) - Design patterns in Swift 3.
Learning Swift: Advanced Topics / Protocol Oriented Programming
- Swift Diagram Playgrounds (⭐274) - Adaptation of the Protocol-Oriented Programming in Swift talk from WWDC 2015.
- Swift Protocol Extensions (⭐20) - A playground to explore Protocol Extensions. ⏳
- Battleship Example (⭐13) - An example of how to use Protocol Oriented Programming with the battleship game. ⏳
Learning Swift: Advanced Topics / Functional Reactive Programming
- ReactiveCocoa Playground (⭐97) - The easiest way to get a taste of ReactiveCocoa. ⏳
- Swift Reactive Playground (⭐27) - Companion to the article: ReactiveCocoa made Simple With Swift. ⏳
Apple's Playgrounds / Functional Reactive Programming
- Apple's Mandelbrot Playground (⭐23) - A playground with the mandelbrot fractal (updated to Swift 3 by @palmerc, @kemalenver).
- 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 about Playgrounds / Functional Reactive Programming
- XCTest Playground (⭐52) - Better looking tests for playgrounds.
- Interactive Playground (⭐53) - Exploring interactivity in Playgrounds.
- Mondrian (⭐3) - Make iOS app mockups in Swift 2.x playgrounds. ⏳
Playgrounds from Playgroundbooks / Functional Reactive Programming
- iPad Swift Playgrounds (⭐26) - The sample playgroundbooks converted to playgrounds.
Theoretical Computer Science / Functional Reactive Programming
- Logician (⭐194) - Logic programming in Swift. 🌟
- Function Composition in Swift (⭐58) - Exploration of function composition in Swift. 🌟
- Swift Adventures in Monad Land (⭐171) - Learn about monads.
- Functional Design Patterns (⭐5) - A few functional programming concept and patterns.
- Learn about transducers (⭐80) - A little tutorial that explains transducers. ⏳
- Swift Functors, Applicatives, and Monads in Pictures (⭐67) - Companion to the article: Swift Functors, Applicatves, and Monads in Pictures. ⏳
- Functors in Swift (⭐6) - A playground to introduce Functors in Swift, and their practical usage. ⏳
Theoretical Computer Science / Algorithms and Data Structures
- Swift Algorithm Club (⭐28k) - Algorithms and data structures in Swift with explanations. 🌟
- Sorting Experiments (⭐6) - Alluring experiments with sorting algorithms in Swift, sort of.
- Visual Binary Trees (⭐58) - Effortless visualization of arbitrary Binary Trees, along with their pluggable traversal implementations. 🌟
- Julia Fractal Playground (⭐259) - A Swift playground that generates beautiful Julia set fractal images.
- DataStructures Playground (⭐15) - Data Structures and Algorithms in Swift. ⏳
- Swiftography (⭐8) - Standard cryptographic algorithms in a Swift Playground. ⏳
- Algorithms Playground (⭐5) - Various algorithm implementation in Swift. ⏳
- The Jelly Bean Problem (⭐2) - The Jelly Bean problem from Wait But Why. ⏳
- Euclidean Strings (⭐1) - A playground leveraging ReSwift to generate Euclidean Strings. ⏳
Theoretical Computer Science / Languages
- Write your own language: Mu (⭐1.1k) - A playground explaining how to create a tiny programming language named Mu. 🌟
- ASM Swift (⭐103) - A playground for learning Assembly language through Swift. 🌟
- Register VM (⭐7) - A register-based VM in a Swift playground. 🌟 ⏳
- Turtle Playground (⭐127) - A playground with Logo-like commands. 🌟 ⏳
- Swift Brainfuck (⭐9) - Brainfuck interpreter written in Swift using Playground. ⏳
UIKit And Graphics / Machine Learning
- UIStackView Playground (⭐326) - Interesting examples of use of UIStackViews.🌟
- Bezier Path Playgrounds (⭐26) - Some playgrounds to better understand UIBezierPaths.
- UIKit playground (⭐43) - Playgrounds to experiment interactively with UIKit views.
- UIDynamic Playground (⭐4) - Multiple Playgrounds using almost every behaviour of UIDynamic.
- WWDC16 Typography (⭐7) 🇯🇵 - Draw a logo or any text with the WWDC16 ASCII texture.
- Animated GIF Playground (⭐1) - Swift playground for generating animated GIFs.
- RPClarity (⭐42) - Shows a technique for blurring an image behind the characters behind one or more UILabels. ⏳
- Swift Clock (⭐27) - An animated clock in a swift playground. ⏳
- WatchKit Asset Playground (⭐8) - A swift playground for creating awesome animations for your WatchKit Apps. ⏳
- Swift 2.0 Protocol Extension Example (⭐38) - Showing how to use Swift2 protocol extensions to render errors in UIViews and UIViewControllers without subclassing or creating classes. ⏳
- Tinting (⭐0) - A small playground to demonstrate image tinting in UIKit. ⏳
- Ray tracing Playground (⭐16) - A playground and a series of articles on ray tracing, see also part 2 (⭐6), 3 (⭐7), 4 (⭐3), 5 (⭐5) 🌟 ⏳
- WWDC16 Logo Playground - Drawing the WWDC16 logo in a playground. ⏳
UIKit And Graphics / Core Image
- Interpolation Playground (⭐63) - Playground demonstrating lerp, smooth step, Catcall-Rom and others! ⏳
- CoreImage for Swift Playgrounds (⭐88) - Growing collection of CoreImage playgrounds from the upcoming book "CoreImage For Swift". 🌟 ⏳
- Image Processor (⭐8) - Implementing different image filter algorithms. ⏳
UIKit And Graphics / Metal
- METAL Playground (⭐52) - Apple Metal framework playground. 🌟 ⏳
UIKit And Graphics / Animations
- Core Animation Swift Playgrounds (⭐34) - A set of interesting Core Animation playgounds.
- UIViewPropertyAnimator Playground (⭐37) - Playground demonstrating UIViewPropertyAnimator.
- WWDC Crowd Simulator 2017 (⭐33) - A SpriteKit experiment to simulate the WWDC2017 logo crowd.
- Additive Animations (⭐35) - Experiment with multiple additive animations in Core Animation. ⏳
- Core Animation Playground (⭐9) - Companion to Apple's Core Animation Programming Guide. ⏳
UIKit And Graphics / SpriteKit
- SpriteKit Swift 3 (⭐7) - Playground for exploring Sprite Kit.
- SceneKit Examples (⭐20) - Experiment with SceneKit and Swift. ⏳
Audio / SpriteKit
- Bach Playground (⭐3) - A Simple Swift Playground that plays a brief piece by Bach with AVAudioEngine and AVMIDIPlayer.
- PlayerNode Playground (⭐3) - Playground using AVAudioEngine with a playernode and effects to play an audio file. 🌟
Mathematics / SpriteKit
- Lindenmayer Systems (⭐11) - A Swift playground exploring Lindemayer systems.
- Swift Natural Numbers (⭐3) - A playground for implementing the natural numbers and more concepts in number theory.
- Polydoxical (⭐0) - Interactive playground to experiment with roulettes and polygons.
- Swift Accelerate (⭐113) - Using the Accelerate framework and Swift for Linear Algebra. ⏳
- Swifty Mathematics (⭐3) - A collection of swift playground about mathematics. ⏳
- Numerical Algorithms - Numerical argorithms playground from Ray Wenderlich. ⏳
Libraries and APIs / SpriteKit
- AIToolbox (⭐784) - A set of playgrounds showing machine learning algorithms, all implemented with pieces of the AIToolbox framework code.
- Cognitive Service APIs (⭐58) - Get started with the Microsoft Cognitive Services APIs.
- Rx Playground (⭐6) - A playground with RxSwift examples.
Playground Sets / SpriteKit
- Public Extensions (⭐301) - A set of useful extensions from @PublicExtension. 🌟
- ManuelCarlos's Playgrouds - Various playgrounds.
- Sketchytech's Playgrounds (⭐7) - Various Playgrounds. 🌟 ⏳
- Swift fun playgrounds (⭐8) - A few playgrounds to showcase Swift peculiar features. ⏳
- BradLarson's Playgrounds (⭐20) - Various playgrounds. ⏳
- Dmikusa's Playgrounds (⭐15) - Playgrounds that show basic Swift, JSON parsing, sending HTTP requests and basic file IO. ⏳
- Cananito's Playgrounds (⭐1) - Various playgrounds. ⏳
- Uberbruns's Playgrounds (⭐4) - Various playgrounds. ⏳
Miscellaneous / SpriteKit
- Icon Creator (⭐37) - Create app icons on Swift playground.
- 2048 Playground (⭐42) - The 2048 game implemented with a playground.
- SwiftShell (⭐19) - Bash shell in a playground.
- LaunchPad Playground (⭐4) - A playground that simulates a real LaunchPad for making music.
- Super Maze (⭐9) - A programmatic maze generator and solver.
- Tic Tac Toe (⭐7) - Tic tac toe in a playground.
- Game Boards (⭐180) - Chess, checkers, tic-tac-toe, sudoku and many others in playground. 🌟 ⏳
- StarWars Seals (⭐3) - Emblems from Star Wars in Swift playgrounds via CoreGraphics and UIViews. ⏳
- SwiftFiles (⭐40) - Save, Load and Delete files easily from within a Swift playground. ⏳
- Earth photos (⭐6) - A slideshow of Earth photos taken by DSCOVR/EPIC. 🌟 ⏳