Suggested approach: Your answer ought to include a discussion of value types (like structs) and reference types (like classes), but also the fact that classes allow inheritance.
For bonus points you could mention that classes have deinit()
methods and structs do not.
Estimated difficulty: Easy
Watch me answer this question in detail
See the full list of iOS interview questions
Float
, Double
, and CGFloat
data types?
Link copied to your pasteboard.