Swift
Code: Swift
33 Swift typing lessons in 5 modules: optional and closure symbol drills, real snippets, 5 speed runs, and 4 assessment simulations.
- 33 lessons
- About 2.8 hrs
- 5 parts
- 4 full simulations
- $9
What's in this course
5 parts, 33 lessons. Each lesson takes a few minutes.
- 1Operators & SymbolsSwift punctuation, optionals, and operator glyphsUp next37 wordsFree
- 2Optionals: ? and !Chaining, nil-coalescing, and the force-unwrap bang8 linesFree
- 3Closures & Shorthand ArgsTrailing braces with $0 and $18 linesFree
- String InterpolationBackslash-paren blocks and multi-line literals9 lines
Free preview ends here
The other 26 lessons and 4 full simulations are in Code: Swift: $9, one time, lifetime access.
- Key Paths & AttributesBackslash-dot key paths, @ attributes, and #available10 lines
- Ranges & SlicesClosed ... and half-open ..< in loops and subscripts8 lines
- Checkpoint: Symbol FluencyEvery Swift glyph cluster from this module in one longer drill10 lines
- KeywordsSwift reserved words2 lines
- Declarationslet, var, and explicit types4 lines
- Guard & Early Exitguard let, guard case, and throwing on failure11 lines
- Protocols & ExtensionsDefault implementations and constrained extensions15 lines
- Idiomatic PatternsClosures and optionals in daily use6 lines
- Collection MethodscompactMap, grouping, first(where:), and friends8 lines
- Checkpoint: Keywords & IdiomsA custom Sequence mixing this module's material14 lines
- Control FlowLoops, guards, and branch ladders12 lines
- Functions & MethodsTyped signatures, defaults, and async throws12 lines
- Enums with Associated ValuesPayload cases and exhaustive switches19 lines
- Throwing Functions & Error EnumsCustom errors with CustomStringConvertible21 lines
- Codable & JSONCodingKeys, decoding, and pretty-printed encoding19 lines
- Realistic SnippetModel plus view-model with async refresh31 lines
- Actors & Task GroupsIsolated state and structured concurrency23 lines
- Checkpoint: Real SnippetsStructs, optionals, and formatting in one pass15 lines
- Speed Run: Config LoaderA key=value parser typed end to end without stopping19 lines
- Speed Run: Collection Pipelinefilter-sort-reduce chains at full pace19 lines
- Speed Run: State MachineEnum transitions through a switch on tuples18 lines
- Speed Run: Existentialsany Shape dispatch across conforming structs22 lines
- Speed Run: Tests & AssertsA slugify function plus its XCTest case17 lines
- Checkpoint: Sustained SpeedAn event-latency report typed in one continuous run20 lines
- Assessment Sim 1: Async User RepositoryA complete networking layer with typed errors39 lines
- Assessment Sim 2: Temperature StatsA full stdin-to-summary program23 lines
- Assessment Sim 3: RPN CalculatorA complete stack evaluator with error paths40 lines
- Assessment Sim 4: Inventory LedgerA full stock-movement program with rejections42 lines
- Checkpoint: Swift Mastery FinalA ranked traffic report -- the course's graded final24 lines
About this course
For iOS, macOS, and Vapor engineers who want their fingers to keep up with modern Swift. The course is 33 lessons across 5 modules: 7 symbol drills covering ?, !, ??, \(interpolation), key paths, and ranges; 7 keyword and idiom drills for guard, protocols, and collection methods; 8 real snippets spanning enums with associated values, throwing functions, Codable, and actors; 5 sustained speed runs; and 4 assessment simulations -- complete, compilable programs -- plus a graded mastery checkpoint.
