SwiftDiDi
Init and observer rules
Which of these statements about class initialization, deinitialization, and property observers in Swift are correct? Pick all that apply.
Pick all that apply
Init and observer rules
Which of these statements about class initialization, deinitialization, and property observers in Swift are correct? Pick all that apply.
Pick all that apply
SwiftShort answerAdvanced
Why doesn't this code compile? Can you explain it using the two-phase initialization rule…
#required
SwiftMultiple choiceIntro
You have tens of thousands of user IDs and need to check repeatedly whether a given ID is…
#set
SwiftMultiple choiceBasics
Which of these statements about Swift language rules are correct? Pick all that apply.
#deinit
SwiftShort answerBasics
When you chain several optional accesses like this and hit nil partway through, what happ…
#optional-chaining