Awesome-Swift-Playgrounds

Swift playgrounds

A curated collection of playgrounds to learn and experiment with Swift programming language

A List of Awesome Swift Playgrounds

GitHub

4k stars
205 watching
341 forks
Language: Swift
last commit: about 3 years ago
Linked from 5 awesome lists

appleapple-playgroundawesomeawesome-listlearning-swiftplaygroundswiftswift-languageswift-playgroundsswift3swift4

Awesome Swift Playgrounds / WWDC Students Submissions

202285over 2 years ago
2022153almost 2 years ago
2021178over 3 years ago
2020213almost 5 years ago
2019281about 5 years ago
2018264almost 5 years ago
2017243over 7 years ago
201682over 8 years ago
2015130almost 8 years ago
2014184over 5 years ago

Awesome Swift Playgrounds / PlaygroundBooks

Guilloche Pattern Playground Book21about 6 years agoLearn more about this pattern you see every day, but probably never knew it was really carefully designed. 🍁
Accessibility5over 8 years agoAccessibility for iOS developers. 🍁
TJBot Playground37over 7 years agoSwift Playground for interacting with IBM's TJBot. 🍁
Tree Trouble Playbook24over 9 years agoAn interactive Swift Playground Book about Binary Search Trees
Auto Pong14over 7 years agoA tutorial to implement a pong based on a simple AI
Neural Network Playground381over 7 years agoA neural network Swift playground, with no third party dependencies
Window Manager Playground39almost 10 years agoPlayground for an experimental window manager
AudioKit Playground Book193over 4 years agoA set of playgrounds using AudioKit designed for the iPad Playgrounds app
Numsw133almost 9 years agoA swift playground book that mimics some of the features of numpy and jupyter notebook
File Browser Playground206about 10 years agoSimple File Browser for Swift Playgrounds on iOS
Geometry with Swift9over 6 years agoIn this course your students will learn the fundamentals of Swift 3 programming, using geometry as their context for learning
Image Filtering82over 6 years agoA Swift playgroundbook about Image Filtering. 🍁🌟
Spacetime Rhapsody27over 9 years agoA Swift Playground visualizing gravity based on Einstein's Theory of General Relativity. 🌟
Neural Network58over 7 years agoA Swift PlaygroundBook about Neural Networks. 🍁
coreml-playground45almost 4 years agoCore ML examples for Swift Playgrounds. 🍁
SF Symbols Viewer18almost 5 years agoAn SF Symbols Viewer for Swift Playgrounds. 🍁
jscore-playground18almost 5 years agoA JavaScript REPL using JavaScriptCore. 🍁
Accessible Reality26over 5 years agofor learning the basics of ARKit through interactive lessons. 🍁

Awesome Swift Playgrounds / Learning Swift

What's new in Swift 41,828over 8 years agoAn Xcode playground showing off the new features in Swift 4.0. 🍁 🌟
What's new in Swift 4.2872almost 8 years agoAn Xcode playground showing off the new features in Swift 4.2. 🍁 🌟
Codable Playground19about 8 years agoPlayground that demonstrates advanced uses of Codable. 🍁
Generics In SwiftPlayground that explains generics. 🍁
Swift String Cheat Sheet61over 3 years agoA quick guide to using Strings with Swift. 🍁
About Swift85almost 2 years agoA playground about Swift language. 🍁
The Swift Programming Language Playgrounds226almost 5 years ago40+ playgrounds, one for each chapter of Apple's Swift book. 🌟
Swift Hack Pack24almost 8 years agoCollection of playgrounds that teaches Swift
The Swift Summary Book1,667over 4 years agoA summary of Apple's Swift language. 🌟
Swifter Tips125about 10 years agoExamples for every feature of the Swift language
MPCS51032 UChicago iOS Course7about 9 years agoPlaygrounds from the 2017 Spring iOS course of the University of Chicago

Awesome Swift Playgrounds / Learning Swift: Advanced Topics

A Swift Introduction to Core Data152about 7 years agoLearn Core Data experimenting directly in this playground. 🌟
TDDSwiftPlayground59almost 7 years agoDemonstration of using Swift Playgrounds in Test Driven Development with XCTest
Concurrency on iOS32over 9 years agoConcurrency and Parallelism in iOS
Modern Core Data35about 9 years agoAn introduction to Core Data
Swift DSL Example20over 9 years agoImplementation of a DSL in Swift
Katan25over 9 years agoA micro web server that replies "Hello world!" to every request, an example of how to use sockets in Swift
Swift Regular Expressions12almost 9 years agoA playground to learn regular expressions with Swift
Network Stack35about 6 years agoClean & simple Swift networking stack playground
Swiftly Typed Resources74over 9 years agoA playground showing how Swift makes Strings, Colors, Fonts, Images, etc easier to deal with. ⏳
Swift KVO Closures11about 12 years agoSwift KVO playground. ⏳
Swift Date Tutorial8over 10 years agoLearn everythig about NSDate. ⏳
Swift And C6almost 11 years agoExamples about using C with Swift. ⏳
Swift Memory Management3over 10 years agoHow to avoid retain cycles, from . ⏳

Awesome Swift Playgrounds / Learning Swift: Advanced Topics / Design Patterns

The Principles of OOD in Swift 41,895almost 3 years agoThe Principles of OOD based on Uncle Bob articles.🍁
Design Patterns Playground27about 9 years agoLearning GoF's Design Patterns in Swift 3
iOS Design Patterns139over 6 years agoSample projects for MVC, MVP, MVVM, and VIPER
Design Patterns in Swift15,159about 2 years agoDesign patterns in Swift 3
GOF Swift139over 8 years agoLearn all 23 Gang of Four patterns using Swift

Awesome Swift Playgrounds / Learning Swift: Advanced Topics / Protocol Oriented Programming

Swift Diagram Playgrounds276about 10 years agoAdaptation of the Protocol-Oriented Programming in Swift talk from WWDC 2015
Swift Protocol Extensions20about 11 years agoA playground to explore Protocol Extensions. ⏳
Battleship Example13over 8 years agoAn example of how to use Protocol Oriented Programming with the battleship game. ⏳

Awesome Swift Playgrounds / Learning Swift: Advanced Topics / Functional Reactive Programming

ReactiveCocoa Playground97over 8 years agoThe easiest way to get a taste of ReactiveCocoa. ⏳
Swift Reactive Playground27about 12 years agoCompanion to the article: ReactiveCocoa made Simple With Swift. ⏳

Awesome Swift Playgrounds / Apple's Playgrounds

Apple's Mandelbrot Playground23over 9 years agoA playground with the mandelbrot fractal (updated to Swift 3 by @palmerc, @kemalenver)
Interactive Newton's Cradle10over 8 years agoApple'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 PlaygroundThe balloons playground showed at WWDC14. ⏳
Apple's Crustacean PlaygroundProtocol-Oriented Programming with Value Types. ⏳
Apple's Swift Standard Library Playgroundexperiment with Swift standard library types and high-level concepts using visualizations and practical examples. ⏳

Awesome Swift Playgrounds / Playgrounds about Playgrounds

XCTest Playground54almost 9 years agoBetter looking tests for playgrounds
Interactive Playground53almost 10 years agoExploring interactivity in Playgrounds
Mondrian4over 10 years agoMake iOS app mockups in Swift 2.x playgrounds. ⏳

Awesome Swift Playgrounds / Playgrounds from Playgroundbooks

iPad Swift Playgrounds28over 9 years agoThe sample playgroundbooks converted to playgrounds

Awesome Swift Playgrounds / Theoretical Computer Science

Functional Debug View38about 7 years agoPlayground to visualize functional programming with graphical sequences. 🍁 🌟
OOP with Functions in Swift59over 8 years agoObject-Oriented Programming in Functional Programming in Swift. 🍁
Logician195over 6 years agoLogic programming in Swift. 🌟
Function Composition in Swift59over 9 years agoExploration of function composition in Swift. 🌟
Swift Adventures in Monad Land171about 10 years agoLearn about monads
Functional Design Patterns5almost 9 years agoA few functional programming concept and patterns
Learn about transducers80almost 12 years agoA little tutorial that explains transducers. ⏳
Swift Functors, Applicatives, and Monads in Pictures69over 7 years agoCompanion to the article: Swift Functors, Applicatves, and Monads in Pictures. ⏳
Functors in Swift6about 11 years agoA playground to introduce Functors in Swift, and their practical usage. ⏳

Awesome Swift Playgrounds / Theoretical Computer Science / Algorithms and Data Structures

Animated Sorting Algorithms36over 3 years agoSwift 4 playgrounds to view and manipulate sorting algorithms.🍁
Expressions398over 8 years agoArithmetic and logical expressions elegantly modeled and visualized using protocol-oriented binary trees.🍁
Swift Algorithm Club28,859almost 2 years agoAlgorithms and data structures in Swift with explanations. 🌟
Sorting ExperimentsAlluring experiments with sorting algorithms in Swift, sort of
Visual Binary Trees58about 10 years agoEffortless visualization of arbitrary Binary Trees, along with their pluggable traversal implementations. 🌟
Julia Fractal Playground262almost 5 years agoA Swift playground that generates beautiful Julia set fractal images
A Star39about 6 years agoProtocol oriented A* pathfinding algorithm implementation in Swift 4.🍁
DataStructures Playground16about 11 years agoData Structures and Algorithms in Swift. ⏳
Swiftography8almost 9 years agoStandard cryptographic algorithms in a Swift Playground. ⏳
Algorithms Playground6over 11 years agoVarious algorithm implementation in Swift. ⏳
The Jelly Bean Problem2over 10 years agoThe Jelly Bean problem from Wait But Why. ⏳
Euclidean Strings1over 10 years agoA playground leveraging ReSwift to generate Euclidean Strings. ⏳

Awesome Swift Playgrounds / Theoretical Computer Science / Languages

Introduction to Compilers462over 6 years agoGreat introduction to the inner workings of compilers. 🍁🌟
Pascal Interpreter284almost 4 years agoSimple Swift interpreter for the Pascal language inspired by the Let’s Build A Simple Interpreter article series. 🍁
Write your own language: Mu1,048over 6 years agoA playground explaining how to create a tiny programming language named Mu. 🌟
ASM Swift105over 9 years agoA playground for learning Assembly language through Swift. 🌟
Let's build a compiler in Swift164over 8 years agoLet's Build a Compiler by Jack Crenshaw translated to Swift Playgrounds. 🌟
Register VM9about 4 years agoA register-based VM in a Swift playground. 🌟 ⏳
Turtle Playground127over 10 years agoA playground with Logo-like commands. 🌟 ⏳
Swift Brainfuck9over 12 years agoBrainfuck interpreter written in Swift using Playground. ⏳

Awesome Swift Playgrounds / Theoretical Computer Science / Machine Learning

Emoji Intelligence1,370about 8 years agoNeural Network built in Apple Playground using Swift. 🌟

Awesome Swift Playgrounds / UIKit And Graphics

UIStackView Playground328over 6 years agoInteresting examples of use of UIStackViews.🌟
Bezier Path Playgrounds26almost 10 years agoSome playgrounds to better understand UIBezierPaths
UIKit playground43almost 7 years agoPlaygrounds to experiment interactively with UIKit views
UIDynamic Playground4over 9 years agoMultiple Playgrounds using almost every behaviour of UIDynamic
WWDC16 Typography7over 9 years agoπŸ‡―πŸ‡΅ - Draw a logo or any text with the WWDC16 ASCII texture
Animated GIF Playground1over 9 years agoSwift playground for generating animated GIFs
RPClarity42about 11 years agoShows a technique for blurring an image behind the characters behind one or more UILabels. ⏳
Swift Clock28almost 12 years agoAn animated clock in a swift playground. ⏳
WatchKit Asset Playground8over 11 years agoA swift playground for creating awesome animations for your WatchKit Apps. ⏳
Swift 2.0 Protocol Extension Example37over 10 years agoShowing how to use Swift2 protocol extensions to render errors in UIViews and UIViewControllers without subclassing or creating classes. ⏳
Tinting0almost 11 years agoA small playground to demonstrate image tinting in UIKit. ⏳
Ray tracing Playground16over 10 years agoA playground and a series of articles on ray tracing, see also part , , , 🌟 ⏳
WWDC16 Logo PlaygroundDrawing the WWDC16 logo in a playground. ⏳

Awesome Swift Playgrounds / UIKit And Graphics / Core Image

Interpolation Playground63over 6 years agoPlayground demonstrating lerp, smooth step, Catcall-Rom and others! ⏳
CoreImage for Swift Playgrounds89over 9 years agoGrowing collection of CoreImage playgrounds from the upcoming book "CoreImage For Swift". 🌟 ⏳
Image Processor9over 5 years agoImplementing different image filter algorithms. ⏳

Awesome Swift Playgrounds / UIKit And Graphics / Metal

Metalbrot90about 5 years agoInteractive playground that draws the Mandelbrot fractal with Metal. 🌟
METAL Playground54about 12 years agoApple Metal framework playground. 🌟 ⏳

Awesome Swift Playgrounds / UIKit And Graphics / Animations

Core Animation Swift Playgrounds36over 9 years agoA set of interesting Core Animation playgounds
UIViewPropertyAnimator Playground37over 9 years agoPlayground demonstrating UIViewPropertyAnimator
WWDC Crowd Simulator 201732over 9 years agoA SpriteKit experiment to simulate the WWDC2017 logo crowd
Duet-Inspired Trail Effect26over 9 years agoHow to get a Duet style trailing effect in SpriteKit
Additive Animations35about 12 years agoExperiment with multiple additive animations in Core Animation. ⏳
Core Animation Playground9almost 5 years agoCompanion to Apple's Core Animation Programming Guide. ⏳
Core Animation Timing1over 6 years agoPlayground demonstrating effects of CAMediaTiming properties. 🍁

Awesome Swift Playgrounds / UIKit And Graphics / SpriteKit

SceneKit ARKit Demo49almost 8 years agoThe Xcode 9 ARKit SpriteKit demo as a playground.🍁
SpriteKit Swift 37over 5 years agoPlayground for exploring Sprite Kit
SpriteKit Collisions32over 8 years agoDemonstrates how to perform physics collision detection using Swift and SpriteKit. ⏳
SceneKit Examples20over 11 years agoExperiment with SceneKit and Swift. ⏳
Astronomy32over 6 years agoA 3D earth model written in swift playground using SceneKit

Awesome Swift Playgrounds / Audio

Bach Playground3almost 10 years agoA Simple Swift Playground that plays a brief piece by Bach with AVAudioEngine and AVMIDIPlayer
PlayerNode Playground4over 6 years agoPlayground using AVAudioEngine with a playernode and effects to play an audio file. 🌟
Miles32over 6 years agoA Swift Playground that creates jazz improvisations in any key using AudioToolbox and AVFoundation
Rhythm Snap6over 3 years agoA Swift Playground using Vision and AVFoundation to help you practice rhythm in a fun way.🍁

Awesome Swift Playgrounds / Mathematics

Guilloche Pattern Playground Book21about 6 years agoLearn more about this pattern you see every day, but probably never knew it was really carefully designed. 🍁
Lindenmayer Systems12over 9 years agoA Swift playground exploring Lindemayer systems
Swift Natural Numbers3over 10 years agoA playground for implementing the natural numbers and more concepts in number theory
Polydoxical0over 9 years agoInteractive playground to experiment with roulettes and polygons
Abstract Algebra191almost 5 years agoAbstract algebra concepts implemented in Swift
Swift Accelerate116over 9 years agoUsing the Accelerate framework and Swift for Linear Algebra. ⏳
Swifty Mathematics3almost 10 years agoA collection of swift playground about mathematics. ⏳
Numerical AlgorithmsNumerical argorithms playground from Ray Wenderlich. ⏳

Awesome Swift Playgrounds / Libraries and APIs

AudioKit Playgrounds130+ Audio synthesis, processing, playback, and analysis playgrounds with AudioKit
AIToolbox794about 6 years agoA set of playgrounds showing machine learning algorithms, all implemented with pieces of the AIToolbox framework code
Cognitive Service APIs57about 8 years agoGet started with the Microsoft Cognitive Services APIs
Rx Playground6over 6 years agoA playground with RxSwift examples

Awesome Swift Playgrounds / Playground Sets

Parks And Recreation176over 2 years agoGreat collection of interesting playgrounds, for fun and for profit. 🍁🌟
URaimo's Playgrounds139over 7 years agoMy playgrounds, various topics. 🍁
Public Extensions298over 8 years agoA set of useful extensions from . 🌟
ManuelCarlos's PlaygroudsVarious playgrounds
Mgrebenets's Playgrounds9over 8 years agoVarious playgrounds.c 🌟
Cocoa With Love Playgrounds89almost 8 years agoPlayground versions of select articles from Cocoa with Love. 🌟
Sketchytech's Playgrounds7about 11 years agoVarious Playgrounds. 🌟 ⏳
Swift fun playgrounds8over 11 years agoA few playgrounds to showcase Swift peculiar features. ⏳
BradLarson's Playgrounds20almost 12 years agoVarious playgrounds. ⏳
Dmikusa's Playgrounds16about 11 years agoPlaygrounds that show basic Swift, JSON parsing, sending HTTP requests and basic file IO. ⏳
Cananito's Playgrounds2about 9 years agoVarious playgrounds. ⏳
Uberbruns's Playgrounds4about 3 years agoVarious playgrounds. ⏳

Awesome Swift Playgrounds / Miscellaneous

Rubik's Cube18over 6 years agoImplementing basic model and behavior of Rubic's Cube in Swift. 🍁
Icon Creator37over 3 years agoCreate app icons on Swift playground
2048 Playground43almost 8 years agoThe 2048 game implemented with a playground
SwiftShell21about 8 years agoBash shell in a playground
LaunchPad Playground5over 8 years agoA playground that simulates a real LaunchPad for making music
Super Maze9over 9 years agoA programmatic maze generator and solver
Tic Tac Toe7over 9 years agoTic tac toe in a playground
Pixel Art Maker116over 6 years agoA playground where you can make pixel art
SwiftCoin33about 9 years agoA simplistic blockchain & cryptocurrency in a playground
SentimentlySwift13about 9 years agoSentiment analysis in Swift
SwiftChainSimple Cryptocurrency in a Swift Playground
Game Boards183over 4 years agoChess, checkers, tic-tac-toe, sudoku and many others in playground. 🌟 ⏳
StarWars Seals3over 8 years agoEmblems from Star Wars in Swift playgrounds via CoreGraphics and UIViews. ⏳
SwiftFiles41over 10 years agoSave, Load and Delete files easily from within a Swift playground. ⏳
Earth photos6about 5 years agoA slideshow of Earth photos taken by DSCOVR/EPIC. 🌟 ⏳

Backlinks from these awesome lists:

More related projects: