• Stars
    star
    3,998
  • Rank 10,889 (Top 0.3 %)
  • Language
    Swift
  • License
    Other
  • Created almost 9 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A List of Awesome Swift Playgrounds

Awesome Swift Playgrounds Awesome 156 playgrounds

A curated list of awesome Swift playgrounds.

Contributing

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!

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

Playgrounds submitted by students for the WWDC scholarship

PlaygroundBooks

Playgrounds that can be run on your iPad

Learning Swift

Some interesting playgrounds to learn Swift

Learning Swift: Advanced Topics

Advanced topics, useful once you have mastered the basics of the language

Design Patterns

Protocol Oriented Programming

Functional Reactive Programming

Apple's Playgrounds

Playgrounds from Apple, usually presented at some WWDC

Playgrounds about Playgrounds

Playgrounds that describe what you can do with playgrounds

Playgrounds from Playgroundbooks

Playgrounds derived from iPad Swift Playgroundbooks

Theoretical Computer Science

Algorithms and Data Structures

Algorithms and data structures implemented in Swift

Languages

Programming language interpreters implemented in Swift

Machine Learning

UIKit And Graphics

A list of playgrounds that demostrate various aspect of UIKit and other graphical frameworks

Core Image

Metal

  • Metalbrot - Interactive playground that draws the Mandelbrot fractal with Metal. 🌟
  • METAL Playground - Apple Metal framework playground. 🌟 ⏳

Animations

SpriteKit

Audio

Sounds and music

  • Bach Playground - A Simple Swift Playground that plays a brief piece by Bach with AVAudioEngine and AVMIDIPlayer.
  • PlayerNode Playground - Playground using AVAudioEngine with a playernode and effects to play an audio file. 🌟
  • Miles - A Swift Playground that creates jazz improvisations in any key using AudioToolbox and AVFoundation.
  • Rhythm Snap - A Swift Playground using Vision and AVFoundation to help you practice rhythm in a fun way.🍁

Mathematics

Live math with playgrounds

Libraries and APIs

Library tutorials, in a playground

  • AudioKit Playgrounds - 130+ Audio synthesis, processing, playback, and analysis playgrounds with AudioKit.
  • AIToolbox - A set of playgrounds showing machine learning algorithms, all implemented with pieces of the AIToolbox framework code.
  • Cognitive Service APIs - Get started with the Microsoft Cognitive Services APIs.
  • Rx Playground - A playground with RxSwift examples.

Playground Sets

Sets of playgrounds about various topics

Miscellaneous

What doesn't fit anywhere else, but still awesome

  • Rubik's Cube - Implementing basic model and behavior of Rubic's Cube in Swift. 🍁
  • Icon Creator - Create app icons on Swift playground.
  • 2048 Playground - The 2048 game implemented with a playground.
  • SwiftShell - Bash shell in a playground.
  • LaunchPad Playground - A playground that simulates a real LaunchPad for making music.
  • Super Maze - A programmatic maze generator and solver.
  • Tic Tac Toe - Tic tac toe in a playground.
  • Pixel Art Maker - A playground where you can make pixel art.
  • SwiftCoin - A simplistic blockchain & cryptocurrency in a playground.
  • SentimentlySwift - Sentiment analysis in Swift.
  • SwiftChain - Simple Cryptocurrency in a Swift Playground.
  • Game Boards - Chess, checkers, tic-tac-toe, sudoku and many others in playground. 🌟 ⏳
  • StarWars Seals - Emblems from Star Wars in Swift playgrounds via CoreGraphics and UIViews. ⏳
  • SwiftFiles - Save, Load and Delete files easily from within a Swift playground. ⏳
  • Earth photos - A slideshow of Earth photos taken by DSCOVR/EPIC. 🌟 ⏳

More Repositories

1

SwiftyGPIO

A Swift library for hardware projects on Linux/ARM boards with support for GPIOs/SPI/I2C/PWM/UART/1Wire.
Swift
1,301
star
2

run-on-arch-action

A Github Action that executes jobs/commands on non-x86 cpu architectures (ARMv6, ARMv7, aarch64, s390x, ppc64le, riscv64) via QEMU
Shell
681
star
3

buildSwiftOnARM

All you need to build Swift on a RaspberryPi or other ARM boards, updated to Swift 5.1.5
Shell
489
star
4

awesome-software-patreons

A curated list of awesome programmers and software projects you can support!
456
star
5

Bitter

A Swift Bits Manipulation/Bitwise Operations Toolkit
Swift
205
star
6

Swift-Playgrounds

Collection of Swift playgrounds used in my posts: From functional aspects of Swift to C interoperability.
Swift
139
star
7

SwiftyLISP

A minimal LISP implemented in Swift
Swift
126
star
8

pygments-vimstyles

Vim Styles as pygments CSS
CSS
37
star
9

WS281x.swift

A Swift library for WS281x (WS2811,WS2812*,WS2813*) RGB led strips, rings, sticks, matrices and more.
Swift
33
star
10

Nunchuck.swift

A Swift Library for the I2C Wii Nunchuck controller.
Swift
31
star
11

5110LCD_PCD8544.swift

A Swift library for the Nokia3310/5110 PCD8544 Monochrome LCD display
Swift
27
star
12

SwizzlingInSwift

Swift Method Swizzling Sample
Swift
18
star
13

SwiftyLISP-REPL

Basic REPL for SwiftyLISP
Swift
13
star
14

HD44780CharacterLCD.swift

A Swift library for 16x2/20x4 Character LCDs with the HD44780(or clones) controller
Swift
12
star
15

SG90Servo.swift

Swift library for the SG90 Servo Motor, adaptable for other servos (9g ES08A, SM-S4303R, S3003, etc...).
Swift
10
star
16

UBloxGPS.swift

A Swift library for boards with the u-Blox 6/7/8 family of A-GPS receivers
Swift
9
star
17

MPU-6050.swift

A Swift library for the MPU-6050 (and MPU-6000 family) Accelerometer and Gyroscope
Swift
7
star
18

buildSwiftOnARMInfra

Setup an infrastructure to build Swift on Linux/ARM
Shell
7
star
19

uistackview-sample

Sample code for www.uraimo.com/2015/09/08/ios9-uistackview-guide-swift/
Swift
7
star
20

RCWL-0516-Radar.swift

A Swift library for the RCWL-0516 Microwave Radar
Swift
5
star
21

DS18B20.swift

A Swift library for the DS18B20 digital temperature sensor
Swift
5
star
22

dotfiles

My dotfiles
Vim Script
4
star
23

MCP3008.swift

A Swift library for the MCP3008 (and MCP3002,MCP3004) 10 bits SPI ADC
Swift
4
star
24

barememtracer

C/C++ bare bones memory tracer
C
3
star
25

javabuild

An experimental Java build tool that mimics the Swift Package Manager
Java
3
star
26

DS1307.swift

A Swift library for the DS1307 (DS1302, DS3231) I2C Real-Time Clock
Swift
3
star
27

congo

Simple Go console package - See docs: http://godoc.org/github.com/uraimo/congo
Go
2
star