Swift in SwiftUI (Lee Bong-won)
summary
Explains Swift 5.1 language features used in SwiftUI: when single-expression implicit returns work for functions and computed properties and why ternary expressions still need explicit return; how the some View opaque return type hides implementation yet requires the same concrete type on every return, affecting view composition; a reproducible List bug where identical ids collapse rows due to Identifiable behavior; and how property wrappers synthesize private storage plus a $ projected value and when to expose that projection.
AI-written summary · about
