Swift Moth

class vs struct

A 1-post collection

Page 1 of 1

Compare class & struct when using didSet/willSet

didSet and willSet are a pair of stored property observers for class or struct. How about the stored property itself is a class or struct? Does »

Jack Chen S Y on swift-2.1, class vs struct, didSet/willSet 21 December 2015
Page 1 of 1
Swift Moth © 2021
Proudly published with Ghost