Ultimate Swift Series
Swift fundamentals for app developers who want to understand the language behind real iOS and macOS apps.
20 chapters · about 605 min end to end
- Getting Started with Swift DevelopmentLearn how to set up your Mac for Swift development. Install Xcode, create your first Swift playground, and write your first lines of code.Beginner · 15 min
- Why Learn Swift in 2026? A Complete Roadmap for BeginnersA complete roadmap from zero to building real apps with Swift -- what you'll learn, how the language is structured, and what makes Swift special.Beginner · 18 min
- Expressions, Variables & ConstantsHow computers handle numbers, Swift arithmetic, binary & hex, and storing data with let and var.Beginner · 25 min
- Types & OperationsType conversion, type inference, strings, string interpolation, tuples, Unicode, and numeric types.Beginner · 28 min
- Basic Control FlowBooleans, comparison operators, if/else, ternary operator, while loops, repeat-while, and scope.Beginner · 30 min
- Advanced Control FlowFor loops, ranges, switch statements, pattern matching, partial matching with tuples, and labeled statements.Beginner · 28 min
- FunctionsParameters, argument labels, return values, tuples, inout, overloading, and functions as values.Beginner · 30 min
- Optionalsnil, force unwrapping, optional binding (if let), guard let, nil coalescing, and safe coding patterns.Beginner · 28 min
- Arrays, Dictionaries & SetsOrdered arrays, key-value dictionaries, unique-value sets, performance characteristics, and Big-O notation.Beginner · 35 min
- Closures & Collection IterationClosure syntax, capturing, trailing closures, and functional operations -- map, filter, reduce, compactMap, lazy collections.Intermediate · 32 min
- Strings Deep DiveUnicode, grapheme clusters, string indexing, substrings, raw strings, character properties, and UTF-8/UTF-16 encoding.Intermediate · 30 min
- RegexPattern matching with Swift regex literals and RegexBuilder -- character classes, repetitions, anchors, captures, and TryCapture transforms.Intermediate · 35 min
- StructuresDefining your own value types in Swift -- properties, methods, mutability, value semantics, and protocol conformance with CustomStringConvertible.Beginner · 30 min
- PropertiesStored vs computed properties, get/set, type properties with static, willSet/didSet observers, and lazy initialization.Beginner · 30 min
- MethodsMethods, self, initializers, mutating methods, type methods with static, and extending existing types with extension.Beginner · 32 min
- ClassesClasses vs structs in Swift -- reference semantics, the heap, object identity with ===, shared mutation, and when to reach for which.Beginner · 32 min
- Advanced ClassesInheritance, overriding, and polymorphism in Swift -- the override/super/final keywords, casting with as/as?/as!, two-phase initialization, designated vs convenience vs required initializers, ARC, deinit, and breaking retain cycles with weak.Intermediate · 34 min
- EnumerationsSwift enums in depth -- cases and exhaustive switches, methods and computed properties, raw values and failable init, CaseIterable, associated values with pattern matching, enums as state machines, case-less namespace enums, and the reveal that Optional is itself an enum.Intermediate · 33 min
- ProtocolsProtocols in Swift -- defining a contract with method, property, static, mutating, and initializer requirements; conformance with classes, structs, and extensions; default implementations; protocol inheritance and composition; associated types; any vs some; AnyObject; and the standard-library protocols Equatable, Comparable, Hashable, Identifiable, and CustomStringConvertible.Intermediate · 42 min
- GenericsGenerics in Swift -- how one set of types defines another, the anatomy of a generic type and its type parameters, generic functions, type constraints with protocols, the some and any keywords, the generic where clause, conditional conformance, capturing concrete type information with metatypes and opaque returns, and a fresh look at Array, Dictionary, and Optional as the generic types they really are.Intermediate · 38 min