Suggested approach: The best way to frame this discussion is likely to be classes vs structs: an instance of a class can have multiple owners, but an instance of a struct cannot.
For bonus points mention that closures are also reference types, and the implications of that.
Estimated difficulty: Intermediate
See the full list of iOS interview questions
Codable
protocol do?
map()
and compactMap()
?
Codable
?
Float
, Double
, and CGFloat
data types?
Link copied to your pasteboard.