Learning Path: Advanced Swift

You know and use Swift but haven’t quite unlocked it’s full Swifty powers and leveled up to Swift Master… Look no further! This learning path brings together talks from some of the top Swift royalty that examine the best practices of writing and using Swift, and dives deep into Swift language subtopics like Type-Safety, Operators, and more.

1. A Neatly Typed Message: Improving Code Readability

We start off with a detailed look at how Swift best practices can improve the readability of your code with Krzysztof Siejkowski.

Get more development news like this

2. Writing Your UI Swiftly

Continuing our exploration of the structure and properties of Swift, Sommer Panage focuses on writing simple, Swifty application and UI code.

3. Watch Your Language! The Road to Cleaner Code w/ SwiftLint

Rounding out the clean code section, learn how to use SwiftLint as an ever-watchful protector of code cleanliness in your project.

4. Swift and the Legacy of Functional Programming

The next few talks explore how the design of Swift lends itself to certain patterns. First, Rob Napier explores how decades of work in functional languages have influenced Swift, and how one should best use those features.

5. Exploring Swift Memory Layout

Let’s get down to bits and bytes! We’ll explore how Swift lays out data in memory with Mike Ash for a fuller understanding of how Swift works under the hood.

6. Dealing With Asynchrony in a Synchronous Swift World

How do we deal with Swift code that executes in a mostly straight line when there are so many side tangents and threads to wait around for? Greg Heo shares Swifty async strategies.

7. Swift’s Pointy Bits: Unsafe Swift & Pointer Types

The final section of this learning path dives deep on language subtopics. This talk from Nate Cook explores the ins and outs of Swift’s take on pointers: typed and raw pointers and buffers, implicit bridging and casting.

8. Operators and Strong Opinions

Swift operators are flexible and powerful, but only when they are well-chosen and heavily used. Learn some essential Swift best practices from Erica Sadun.

9. The Secret Life of Types in Swift

This talk by Manu Rink takes an under-the-hood deep dive into the Swift type system’s structure and gives tips on how to use it properly.

10. Everything You Ever Wanted to Know on Sequence & Collection

Soroush Khanlou dives into Sequence, through a ‘LinkedList’ Implementation, and Collection, and its related protocol types, to round out the #SwiftLang deep dive.

Next Up: Advanced Swift #1: Improving Code Readability

General link arrow white

About the content

This content has been published here with the express permission of the author.


Realm Team

At Realm, our mission is to help developers build better apps faster. We provide a unique set of tools and platform technologies designed to make it easy for developers to build apps with sophisticated, powerful features — things like realtime collaboration, augmented reality, live data synchronization, offline experiences, messaging, and more.

Everything we build is developed with an eye toward enabling developers for what we believe the mobile internet evolves into — an open network of billions of users and trillions of devices, and realtime interactivity across them all.

4 design patterns for a RESTless mobile integration »

close