DEV Community

Discussion on: Class vs Struct in Memory | iOS & Swift

Collapse
 
olance profile image
Olivier Lance

👍
It might be worth mentioning that a struct with a class instance value will not duplicate the instance (i.e. you get the same pointer to the same instance) when duplicating the struct!