Code Monkey home page Code Monkey logo

awesome-swift-playgrounds's Introduction

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

  • Animated Sorting Algorithms - Swift 4 playgrounds to view and manipulate sorting algorithms.🍁
  • Expressions - Arithmetic and logical expressions elegantly modeled and visualized using protocol-oriented binary trees.🍁
  • Swift Algorithm Club - Algorithms and data structures in Swift with explanations. 🌟
  • Sorting Experiments - Alluring experiments with sorting algorithms in Swift, sort of.
  • Visual Binary Trees - Effortless visualization of arbitrary Binary Trees, along with their pluggable traversal implementations. 🌟
  • Julia Fractal Playground - A Swift playground that generates beautiful Julia set fractal images.
  • A Star - Protocol oriented A* pathfinding algorithm implementation in Swift 4.🍁
  • DataStructures Playground - Data Structures and Algorithms in Swift. ⏳
  • Swiftography - Standard cryptographic algorithms in a Swift Playground. ⏳
  • Algorithms Playground - Various algorithm implementation in Swift. ⏳
  • The Jelly Bean Problem - The Jelly Bean problem from Wait But Why. ⏳
  • Euclidean Strings - A playground leveraging ReSwift to generate Euclidean Strings. ⏳

Languages

Programming language interpreters implemented in Swift

  • Introduction to Compilers - Great introduction to the inner workings of compilers. 🍁🌟
  • Pascal Interpreter - Simple Swift interpreter for the Pascal language inspired by the Let’s Build A Simple Interpreter article series. 🍁
  • Write your own language: Mu - A playground explaining how to create a tiny programming language named Mu. 🌟
  • ASM Swift - A playground for learning Assembly language through Swift. 🌟
  • Let's build a compiler in Swift - Let's Build a Compiler by Jack Crenshaw translated to Swift Playgrounds. 🌟
  • Register VM - A register-based VM in a Swift playground. 🌟 ⏳
  • Turtle Playground - A playground with Logo-like commands. 🌟 ⏳
  • Swift Brainfuck - Brainfuck interpreter written in Swift using Playground. ⏳

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. 🌟 ⏳

awesome-swift-playgrounds's People

Contributors

adrfer avatar aheze avatar aure avatar bertant avatar bwide avatar carlosmbe avatar davidskeck avatar filip-zielinski avatar gg2001 avatar giovannapezzini avatar jawwad avatar jegnux avatar johndpope avatar joselimaivd avatar kentzo avatar kevincoble avatar kkebo avatar kushtaneja avatar lalomts avatar lennet avatar macmedan avatar makwanbarzan avatar mau888 avatar mhanlon avatar readmecritic avatar rickwierenga avatar stevemoser avatar thewildhorse avatar uraimo avatar xreee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

awesome-swift-playgrounds's Issues

Validate Links

Hello, I wrote a tool that can validate README links (valid URLs, not duplicate). It can be run when someone submits a pull request or when a commit is pushed to the repo.

It is currently being used by many projects including

Examples

If you are interested, connect this repo to https://travis-ci.org/ and add a .travis.yml file to the project.

See https://github.com/dkhamsing/awesome_bot for options, more information
Feel free to leave a comment πŸ˜„

Add playgrounds as submodules

Wouldn't be great to add all these playgrounds as submodules so one can clone them all in once thanks to git clone --recursive on this repo ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.