A curated list of resources for learning about the Swift Language.
- π = Gist
- βοΈ = Repository
- π = Blog
- π = Blog Post
- π = Quick Reference
- π = Book
- π = Guide Book
- π° = Newsletter
- πΎ = Slides
- π€ = Video Presentation
- πΉ = Video
- π = Link
- π₯ = Awesome List
- π = Learning Resource
- π = Interview Questions
- Open Source Swift
- Swift Style
- In-Browser Swift Editors
- Quick References
- Blogs
- Newsletters
- Great Learning Resources
- Books
- Video
- Posts
- Animations and Front End Stuff
- Application Structure / Architecture
- Closures
- Collections / Sequences / Generators
- Command Line and Swift Scripting
- Concurrency
- Core Data and Realm
- Data Structures and Algorithms
- Design Patterns
- Development Paradigms
- Enums and Pattern Matching
- Error Handling
- Extensions
- Functional Programming and Category Theory in Swift
- Functional Reactive Programming in Swift
- Generics
- Initializers, Properties, and Dependency Injection
- Interpolability
- Language Comparisons and Transitioning to Swift
- LLVM Compiler and swiftc
- Optionals and Types
- Production Swift, Problem Solving, and Developer Tools
- Protocol Oriented Programming in Swift 2
- Security
- String Manipulation and Regex
- Swift Language, Open Source, and Opinions
- Testing
- Web Services and Networking
- Interview Situations
- Swift Community
- Contributing Guidelines
- Shoutouts
- Apple Master Github Repository π
- Swift Master Repository βοΈ
- Download Swift π
- Core Libs Unimplemented Parts βοΈ
- Swift Core Libs Foundation Repository βοΈ
- Swift Core Libs Dispatch Repository βοΈ
- Swift CommonMark parsing and rendering library in C βοΈ
- Swift Clang Repositroy βοΈ
- Swift LLDB Repository βοΈ
- Swift Packages βοΈ
- Swift Compiler Crashes βοΈ
- Functional Swift Style Guide π
- The Official Swift Language Docs π
- Swift Language Evolution π
- Swift.org π
- That Thing In Swift π
- SwiftDoc π
- iOS Cookies π
- π₯ Awesome Swift π
- π₯ Another Awesome Swift π
- Pure Swift List π
- π₯ Awesome iOS π
- iOS Good Practices π
- Little Bites of Cocoa π
- Libraries used in the top 100 Apps π
- Fucking Closure Syntax π
- RAC Marbles π
- Swift Knowledge Base π
- iOS at Artsy π
- π Objc.io π
- NSBlog with Mike Ash π
- Use Your Loaf π
- Chris Eidhof π
- Ole Begemann π
- Alexandros Salazar π
- Uramio π
- Swift Weekly π
- Erica Sadun π
- Appventure π
- MetalByExample.com π
- David Owens π
- The iOS Times π
- Crunchy Development π
- iOS Blog π
- This Week in Swift News π°
- iOS Goodies π°
- iOS Dev Weekly π°
- Swift Open Source Newsletter π°
- SwiftLang Website π°
- Swift Weekly π°
- Gettin' Swifty With It π°
- Indie iOS Dev Weekly π°
- Official Swift Documentation π
- Swift Education Community Repository βοΈ
- iOS Swift Reference βοΈ
- Hacking With Swift π
- A Better way to learn Swift π
- Ray Wenderlich Tutorial Pages π
- Swift Education π
- Play with Swift π
- CS193P: Developing iOS 8 Apps with Swift π
- Realm Roundup: 25 Realm Resources and Tutorials π
- Funcitonal Reactive Programming iOS Learning Resources π
- Learn Core Data π
- Udacity Swift Syntax Course π
- Open Source iOS Apps βοΈ
- Free Books
- Not Free (but still awesome) Swift Books
- Presentations
- All the slides from Swift Summit London 2015 π
- All the Presentations from Swift Summit London πΉ
- All Presentations from #Pragma Conference πΉ
- MobileKonf 2015 πΉ
- Functional Swift Conf 2014 πΉ
- Functional Swift Conf 2015 πΉ
- CocoaConf Videos πΉ
- π₯ Awesome iOS Conferences βοΈ
- All Presentations from 360iDev 2015 πΉ
- NSSpain 2015 interviews πΉ
- Other Video
- Mixing SpriteKit with UIKit in iOS 9 π
- AdaptiveUI Animations π€
- iOS Animations with AutoLayout π€ and βοΈ π
- 3D Graphics with Metal in Swift π€
- Metal and Swift π€
- Animating VCs π
- Advanced UITableViews π€ π
- SpriteKit as an intro to SceneKit πΎ
- Cartography Autolayout DSL βοΈ
- UITableView Configuration Values π
- Typed TableViewControllers π π π
- Demystifying iOS Architecture Patterns π
- Mutating Funcs in Swift Structs π
- Refractor the Mega Controller π€
- 250 Days of using VIPER Architecture with Swift π€
- Safer with VIPER π
- Preventing Massive View Controllers π€
- A Structy Model Layer π
- Unidirectional Data Flow Architecture βοΈ
- Ziggurat iOS App Architecture π
- One Way Data Flow Architecture in Swift π€
- Unidirectional Dataflow Architecture with Swift-Flow πΎ βοΈ
- CocoaFlow Architecture π
- Lighter View Controllers in Swift π π
- Destroying Massive View Controllers π with patterns π
- ReduxKit is a predictable state container for Swift apps π
- View Controller Thinning π via Dependency Injection π
- An MVP Framework βοΈ
- Designing App Infrastructure π
- Closures and Capturing Values in Swift π
- Instance methods are Curried Functions in Swift π
- Using Local Closures with Swift π
- Delaying Code Execution through Closures π
- Can we please make a standard style for closures? π
- @autoclosure, @inline, @noescape, and @noreturn Keywords π
- How to use @noescape π
- How to use @autoclosure π
- Closures in API Design π€
- weak vs unowned π
- Swift weak references π π
- Difference between weak self vs weak self() π
- Partial Function Application π
- Trailing Closure Syntax π π π π
- Type inference quirks of closures as parameters π
- Style guide for functions with closure parameters in Swift π
- A quick guide to SequenceType π
- Swift Collections π
- Sequences and Generators in Swift π
- Experimenting with Seqs and Generators π
- Sets vs Dictionaries in Swift π
- The Fibonacci SequenceType π
- Truly Lazy Sequences π
- Using Generators for UITableView Pagination Purposes π
- A Little Respect for AnySequence π
- Swift Sequence Lib βοΈ
- SINQ - Swift Integrated Query βοΈ
- List Comprehension in Swift π
- Collection Indices, Slices, and Generics π
- Swift Scripting π€
- Learn Swift by running Scripts π
- Scripting in Swift is Pretty Awesome! π
- Swiftline βοΈ
- How Swift Scripting was used to make iOS Cookies π
- Writing an Xcode Plugin with Swift π
- Basics of GCD π
- Methods of concurrency β GCD, agents, tasks and invocations π
- Code at the end of the queue π
- Actor Model Concurrency in Swift βοΈ
- Coroutines in Swift π
- STM in Swift βοΈ
- NSOperations and NSOperationQueues π
- Threading with Closures π
- Building Responsive and Efficient Apps with GCD π€ πΎ
- Core Data
- Realm
- Super simple Realm Intro π
- Why Realm over Core Data? π
- Official Realm Introduction π
- Realm Tutorial π
- Why Realm is great and why we're not going to use it π
- Realm Best Practices π
- Realm Repo π
- What Realm does that Core Data doesn't π
- Reddit Thread π
- A look into Realm's Core DB Engine π€
- Working with Realm π
- An Array implemented in Swift by Mike Ash π
- A Trie π
- A persistent tree using indirect enums π
- Deques, Queues, and Lists in Swift with indirect π
- Linked Lists are really slow π
- Linked Lists, Enums, Value Types π
- Singly Linked List π
- Deques, Queues, and Lists in Swift π π
- Contiguous Arrays in Swift π
- NSArrays are implemente with Circular Buffers π
- Open sourced CFArray π
- Abstract Algebraic Structures in Swift 2 βοΈ
- Patricia/Radix trees for Swift βοΈ
- Genetic Programming in Swift βοΈ
- Finger Trees in Swift βοΈ
- Neural Networks in Swift βοΈ
- Swift AI βοΈ
- Lazy infinite streams βοΈ
- Naive Bayes Classifier βοΈ
- Swix Swift Matrix Math Library βοΈ
- Red Black Tree π
- Tensor Methods in Swift βοΈ
- Sort Utils βοΈ
- Disjoint Sets βοΈ
- Metaprogrammable βοΈ
- Binary Tree βοΈ
- SwiftPriorityQueue βοΈ
- SwiftGraph βοΈ
- Fisher-Yates Shuffle for Swift π
- Rose Tree in Swift π
- Swift Design Patterns πΎ
- Template Method Pattern in Swift π
- Design Patterns Library in Swift π
- Creating a Cocoa Bindings Observable Pattern in Swift π
- Observer Pattern in Swift π
- The Sin of Singletons π
- The Null Object Pattern π
- Segues > Delegation π
- Functions as Factories π
- Conform to Objective C Protocols in Swift π
- Optional Protocol Methods π
- The Builder Pattern and Fluent Interface π
- A Better NSNotificationCenter Observer Pattern π
- Key Value Coding in Swift π
- Exploring KVO Alternatives in Swift π
- Facade Functions π
- Observable-Swift KVO Replacement βοΈ
- Swift Singleton βοΈ
- SOLID Design in Swift βοΈ
- Decorator Pattern through composing functions in Swift π
- Target Action Pattern π
- Typed Notification Observers π
- Functional Notification Pattern π
- Result Driven Development πΎ
- Library Oriented Programming π€
-
- Oriented Programming π€
- Hole Driven Development π
- Entering a New Codebase πΎ
- Railway Oriented Programming π€
- Swift in Practice π€ πΎ
- Denotational Design πΎ
- Building Frameworks in Swift π
- Enums
- Enums in Swift π
- Advanced and Practical Enum Usage in Swift π
- Enumerating Tuple Values in Swift π
- Simplfied Login with Swift Enums π
- Testing of Enums made easy π
- How to compare Enums with Equatable π
- Raw representable enumeration π
- Enums with Associated Data vs Structs π
- The Sum Types are here π
- Algebraic Data Types in Swift π
- Handling Enums with Raw Values π
- Using Enums as Constants π
- Enums instead of Booleans π
- Pattern Matching
- Official Docs π
- Swift's pattern-matching switch statement π
- Custom pattern matching in Swift π
- Advanced Swift Pattern Matching in Detail π
- Control Flow & Pattern Matching π
- Ranges and Intervals in Swift π
- More Pattern Matching Examples π π
- What is a variadic parameter? π
- Pattern Matching in Swift π
- Pattern Matching with an if case π
- Pattern Matching with Recursive Values in Swift π
- The Value of Guard π π
- Guard and Defer π
- When to (not) use guard π π
- Thoughts on Swift 2 Error Handling π
- Easy Error Handing π
- Swift Failiable Initializers π
- Swift 2 Error Handling π
- Swift 2 Error Handling and Pattern Matching π
- Unmanaged Type π
- try/catch with asynchronous closures π
- Using the assert() keyword π
- Result: Swift type modelling the success/failure of arbitrary operations βοΈ
- Error Styling in Swift π
- Async Error Handling in Swift πΎ
- Let it Throw! π
- Magic Methods in Swift π
- Understanding Optional Chaining π
- ExSwift βοΈ
- Useful Swift Extensions βοΈ
- EZSwiftExtensions βοΈ
- Public Extension π
- Adding Class Properties via Extension π
- Type Constrained Extensions in Swift π
- Generic type extension by retrofitting protocols in Swift 2 π
- Type extensions with generic type parameters π
- OptionalExtensions βοΈ
- Category Theory
- Cheat Sheet For Typeclasses and Monads in Haskell π π π
- Category Theory For Beginners πΎ πΎ
- Category Theory and Progamming π€
- Awesome Math/Category Theory π
- Category Theory in Haskell π
- The Category Design Pattern π
- Type Theory vs Category Theory π π
- MIT Category Theory Class π
- Functional Programming in Swift
- Deriving higher order functions in Swift π and Monads π
- Typelift Community Repo π
- π Swiftz Functional Programming Library βοΈ
- Second Bridge Swift Functional Framework βοΈ
- Swiftx Functional Data Types βοΈ
- Aquifier Functional streaming abstractions in Swift βοΈ
- Basis Pure Declarative Programming in Swift βοΈ
- Functional Concurrency Primitives βοΈ
- Functional View Controllers π π
- Covariance and Contravariance in Swift 2.1 π
- Monads & C# Tasks in Swift π
- Functional Paradigms in Swift π
- Functional Programming in the Swift Language π
- Map and FlatMap demystified π
- Lenses in Swift π π βοΈ
- Prelude Library π
- Object Oriented Functional Programming π€
- Functional Programming in Swift Talks π€ π€ πΎ π€ π€
- Make Swift More Functional πΎ
- Introduction to Functional Programming in Swift π πΎ
- Practical Declarative πΎ and Functional πΎ Swift
- The monad among us πΎ π
- π Functors, Applicatives, and Monads in Swift π
- Futures and Latency as an effect in Swift π
- Continuation Passing Style in Swift π π
- Proof in Functions π π
- Functional Thinking πΎ
- Transducers and Reducers in Swift 2 βοΈ π
- Lenses, Prisms, Isos in Swift 2 βοΈ
- Better Recursion with Swift π€ πΎ
- Folds in Swift π π π π
- Swift Adventures in Monad Land βοΈ
- Functor and Monad in Swift π π
- Llama Calculus πΎ
- FizzBuzz with infinite streams π
- 6 Killer Functional Swift Features π
- Thunks in Swift π
- 7 Habits for more functional Swift πΎ
- Y Combinators in Swift π
- Arrows in Swift π
- Understanding Reduce in Swift [:page_facing_up:] π
- Monadic Functions in Swift βοΈ
- Lazy Streams in Swift βοΈ
- Funky Functional Programming Tools and Experiements βοΈ
- Functional Memoization in Swift π π π
- Reader Monad in Swift π π
- Writer Monad in Swift π π
- Back to the Futures with Swift πΎ
- State Monads in Swift βοΈ
- Array to Zipper βοΈ
- From Category Theory to Swift π βοΈ
- Higher Kinded Types π π
- Categories in Swift π
- Applicatives in Swift π βοΈ π
- Church Encoding π
- Lambda Calculus in Swift 2 π
- Simple Monoid Example π π
- Dollar.Swift Functional Toolkit like Lodash and Underscore βοΈ
- π₯ Awesome Functional Programming βοΈ
- Continuation Monad π π π
- Does Swift implement tail call optimization? and in mutual recursion case? π π
- (Tail)Recursion with nested functions in Swift 2.0 π π π
- Reduce all the things π
- zipWith π
- Are true functors possible in Swift? π π
- Various Functors in Swift π
- MVVM + FRP π
- MVVM + RxSwift π€ βοΈ, π, π
- Introduction π
- Reacting to Events π
- ReactiveCocoa 4.0 Info π
- The Difference between RxSwift and ReactiveCocoa π, π
- FRP in Swift 2.0 π€
- Functional Reactive Programming in an Imperative World π€
- π RAC 3 with Ash Furrow πΎ, and some other nice πΎ
- FRP with RAC in Swift πΎ
- Learning RxSwift π
- Upgrading to RxSwift π
- FRP is a forbidden term π
- What is FRP? On StackOverflow π
- From RAC to RxSwift: The (Mini) Survival Guide π
- State, Promises, and Reactive Programming π€ βοΈ
- State Machines in Swift βοΈ
- RxSwift Community Webpage π
- Functional Reactive Programming on iOS πΎ
- Modern application architectures (Reactive programming, MVVM and beyond) π
- Generic Arrays in Swift 2.0 π
- The shortcomings of generic protocols π
- Generics in Swift, Part 1 π, Part 2 π
- Official Docs π
- Covariant and contravariant generic type parameters π
- Generic Protocols π
- Partial Function Application with Generics π
- Generic Constructors π and factories π
- Parametric Polymorphism in Swift π π π
- Initializers
- Properties
- Dependency Injection
- Swift and C π€
- Swift & the ObjC Runtime π
- How is Swift Faster than Objective-C? π
- Wrapping a C library in a Swift Framework π
- How are NSDictionaries implemented in-memory? π
- Exposing NSMutableArray π
- Source-Code for the Objective-C Runtime βοΈ
- Mapping Swift Types to C Pointers π
- Comparisons
- Comparing Swift and Javascript π
- C++ Advice to Swift Devs π
- Swift Protocols vs Java 8 Interfaces π
- Learning Swift from Haskell πΎ and corresponding π€
- Swift vs Golang πΎ
- Swift 2.0 Protocol Extensions vs Java Abstract Classes π
- What do Haskell developers think of Swift? π
- Transitioning
- LLVM Compiler
- swiftc
- Optionals
- Types
- Swift's Type System π
- Types and Metatypes in Swift π
- Typeclasses in Swift, Haskell and Scala π
- Understanding Downcasting Operators in Swift π
- Swift Manual Retain/Release π
- Type-Erased Wrappers in Swift π€
- Swift MetaTypes π
- Tying the Knot in Swift π
- Make all Value Types Equatable π€
- The Natural Numbers Encoded as Types π
- Type Introspection π
- Safer Swift Code With Value Types π€ πΎ
- Dependent Types in Swift π and why they matter π
- Creating new Types in Swift π
- Properties of Types Conforming to Protocols π
- Wrapper Types π
- Phantom Types in Swift π
- Typeclasses in Swift and Scala π
- Return Type Polymorphism in Swift π π
- Type Reflection and Casting
- Associated Types
- Production Swift
- Problem Solving with Swift
- Developer Tools
- π Protocol-Oriented Programming in Swift π€ πΎ
- Protocols in Swift π
- POP is OOP Thesis π
- Standard Template Protocols βοΈ
- Protocol Oriented MVVM π, πΎ
- Functional thinking via Protocol Extensions π
- Protocol Extensions vs Type Extensions π
- Swift Diagrams Playground for P.O.P. π
- Gist covers whatever went on in the official presentation π
- What are the advantages? π
- Another look into the concept of P.O.P. π
- If you're subclassing, you're doing it wrong. POP and VOP explained π
- Every Swift Value Type Should be Equatable π
- Protocol Oriented Programming through UIKit π
- Protocols in Swift π
- Ray Wenderlich intro to P.O.P. π
- Protocol Extensions and the death of the Pipe forward operator π
- How Protocol Oriented Programming could still improve π
- THe Swift Protocol Proposal π
- Swift Default Protocol Implementations π
- π Mixins and Traits in Swift 2.0 π
- Minimal Swift 2.1 Protocol Coformance π
- Favor Mixins over inheritance π
- Use Protocol Composition π
- Can Swift have Dependent Types? π
- More Misunderstanding of Dependent Types π
- 55 Standard Library Swift Protocols πΎ π π€
- Current Recommmended Protocol Usage π
- POP in Swift vs ObjC and C++ π
- POP Utility Belt βοΈ
- Typesafe and Composable Data Sources in Swift π
- Protocol Extension Method Dispatch π
- The Genius of Protocols π
- Encryptor / Decryptor Data Format βοΈ
- CommonCrypto in Swift π€
- π₯ Awesome iOS Security π
- Ceaser Cipher in Swift π
- Swift String Cheat Sheet π π
- RegularExpressions in Swift π
- Creating a Lexer in Swift π
- Creating an Abstract Syntax Tree Parser in Swift π π
- String to Number Parser βοΈ
- Madness: Parsing strings in simple context-free grammars βοΈ
- NSRegularExpression Cheat Sheet π
- Parser combinators, for Swift π βοΈ βοΈ
- Clean Regular Expressions in Swift π
- Simple Regex π
- Useful String Library βοΈ
- About Swift
- What's new in Swift 2 π€ πΎ
- Diving into Swift 2 π
- Best of Swift 2 π
- New Features in Swift 2 π
- Switching your brain to Swift π
- Short Circuit Evaluation π
- How Swift makes your life better π
- Emerging best practices in Swift π€
- Swift Thinking π€
- Hidden Gems in Swift π€
- Making Friends with Value Types π€
- Catching up with Swift πΎ
- Idiomatic Swift πΎ
- Swiftly Methods π
- Open Source Swift
- Opinions about Swift
- Wishlist for Swift 3.0 π
- What are the Worst parts of Swift? π
- The Death of Cocoa π
- Swift is not functional π
- Which features overcomplicate Swift? What should be removed? π
- Does Apple Swift have enough functional features to be considered as a functional language? Why? π
- What is the bare minimum you need to learn Swift? π
- Profiling in Depth π€ πΎ
- BDD Testing with Swift π
- TDD with Swift π
- Unit Testing in Swift π
- Better Unit Testing with Swift π
- UI Testing Cheat Sheet π
- SwiftTest BDD Testing Framework βοΈ
- More functional testing π
- Unit Testing with @testable in Xcode 7 π
- Mocking Objects in Swift π
- Reverse Engineering iOS Apps π€
- TDD on iOS π€
- The state of iOS testing in 2015 π
- Testing in Swift with Quick π€ π€
- Network Testing in Swift π€
- TDD By Controlling Dependencies in Swift π€, π€
- iOS Snapshot Test Cases βοΈ
- Quick Testing Framework βοΈ
- Nimble Matcher Framework βοΈ
- Swift Lint βοΈ
- How to configure Travis CI for iOS Testing π
- Setting up KIF for iOS Acceptance Testing π
- Replacing KIF with XCUI Tests π
- SwiftCheck: QuickCheck for Swift βοΈ
- Web Services and Networking
- SwiftHTTPStatusCodes π
- Calling APIs and Parsing JSON with Swift π
- Parsing Embedded JSON and Arrays in Swift π
- Real World JSON Parsing π
- Efficient JSON Parsing with Functional Concepts π
- Swift and JSON: Are we doing it right? π€
- Calling a REST Api in Swift π
- How to Make REST API Calls and Parse JSON with Swift π
- HTTP in Swift π
- Reachability Library π
- Other
- Ray Wenderlich π
- Toptal π
- LeetCode π
- Coding Questions π
- π₯ Awesome Swift Interview Questions π
- π₯ Awesome iOS Interview Questions π
- Forums
- Jobs
- Meetups
- Meetup.com Swift Meetups π
Let this list serve as a huge thank you to the incredible Swift Community. It would not exist if the people behind Swift were not so incredibly innovative, intellectual, and enthusiastic about the language and about open source. I created this list because I believe that the Swift community can be just as smart as the Haskell Community if guided properly. If you would like to make the Swift community smarter and contribute to this list, make sure to check out the emoji key and please open up a pull request or send a tweet of the content to @FeelFunnyFlow. If the topic of the content is already exists on the list, create an adjacent emoji to the existing content. I realize that this list is by no means perfect, so if you have an idea as to how I can change it, please let me know!
Shoutout to @clattner_llvm, the OG Swift Developer. Shoutout to @chriseidhof for encouraging me to promote this idea and for being a huge baller. Shoutout to @ashfurrow and @bennRodri for being so incredibly helpful. Shoutout to @CodaFi_, the TypeLift, and the Antitypical teams for promoting FP. Shoutout to the trillmoji project. Shoutout to Haskell Devs and Category Theory legends. And finally, Shoutout to all the Swift Programmers out there, this project is by you and for you!