Initialization tips


Initialization

Initialization prepare an instance of the TYPE you specified for use. It initializes each stored property

NOTE When you assign a default value to a stored property, or set its initial value within an initializer, the value of that property is set directly, without calling any property observers.

Deinitialization



Roger
Published under (CC) BY-NC-SA in categories Swift 2.0  tagged with Swift 2.0, Initialization