Swift
lazy properties
Which statements about a lazy var stored property are correct? Pick all that apply.
Pick all that apply
lazy properties
Which statements about a lazy var stored property are correct? Pick all that apply.
Pick all that apply
SwiftShort answerAdvanced
Given a 'collection of collections' like [[1, 2], [], [3], [4, 5, 6]], how would you desi…
#lazy
SwiftShort answerAdvanced
You want to add a property to an existing type with an extension. Computed properties wor…
#stored-property
ArchitectureShort answerIntro
When do you use a singleton in an iOS app, and what's the problem with it?
#thread-safety
ArchitectureShort answerAdvanced
This is a live coding exercise. Without Foundation's NotificationCenter, design and imple…
#thread-safety