- swift
- swift-zero-expert
- swift-fundamentals
Swift from Zero to Expert #5: Functions — first-class citizens
Parameters, labels, inout, function types and functions as values. The gateway to closures and functional programming.
Real-world iOS engineering, explained clearly.
Parameters, labels, inout, function types and functions as values. The gateway to closures and functional programming.
Learn to diagnose performance issues as a scientific process. Master Weight vs Self-Weight, Charge/Prune/Flatten, and scale profiling with xctrace.
if/else, exhaustive switch with pattern matching, guard as a philosophy, and how the compiler optimizes your decisions into jump tables.
Viscerally understand what happens when your code runs. Visualize malloc, free, reference counting, and retain cycles with interactive components.
Unicode scalars, grapheme clusters, why string[0] doesn't exist in Swift, and how Substring shares memory with the original String.
Discover how Swift's collections work inside: when to use each one, their algorithmic complexity, and the elegance of copy-on-write.
First article in the Swift from Zero to Expert series. We explore fundamental data types, operators, and why Swift decides to put things on the stack.
Understand how your app manages memory, why dSYMs are critical, and how to detect performance issues before opening Instruments.
Learn to think like a performance detective. We break down Instruments from mental models to practical hang resolution and code instrumentation with Signposts.
Interactive guide covering the 5 feature flags of Approachable Concurrency in Xcode 26, recommended configuration, and step-by-step migration guide.