Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Advanced Swift Series

Companion repository for the Advanced Swift Series published on iCommunity.

Each chapter covers a specific area of Swift performance. Every concept is backed by a playground to experiment with, and where it makes sense, a real UIKit and SwiftUI app that applies the same ideas in a production context.


Chapters

How Swift's collection types actually work under the hood — and how to choose the right one.

Playground Article
Arrays Swift Arrays: Hidden Performance Traps Most Developers Miss
Dictionaries Advanced Dictionaries: Performance and Hidden Traps
Sets & Ranges Swift's Performance Weapons: Set, OrderedSet, Range and RangeSet

CollectionVault — a UIKit app built alongside the articles. Set<UUID> for O(1) favorites lookup, a custom OrderedSet for search history with MRU behaviour, RangeSet for efficient bulk deletion, and reduce(into:) for duplicate detection. Every choice is documented with the reasoning behind it. → See the full article ↔ code mapping


A deep dive into Swift Optionals and the ideas behind them. Learn how Swift models the absence of a value in the type system and how to work with optionals safely, clearly, and efficiently.

Playground Article
Optionals Advanced Swift: Optionals

NilSafeProfile — a production-ready SwiftUI app built alongside the article. It demonstrates shorthand if let, optional chaining, lazy ?? evaluation, map and flatMap transformations, compactMap, Swift 6.2 string interpolation, custom !! safety operators, and intentional force-unwrapping in a real feature-based architecture. Every concept maps directly to the explanations in the article. → See the full article ↔ code mapping


More chapters coming soon.


Author

Okan OrkunMedium · iCommunity

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages