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