Delegate pattern
Can you explain the Delegate pattern that shows up all over UIKit?
Can you explain the Delegate pattern that shows up all over UIKit?
Delegate is a 1:1 relationship where one object hands a decision or a piece of work at a specific moment to one other object through a protocol. A strong delegate property creates a retain cycle, so watch for that.
ArchitectureMultiple choiceIntro
In which of these situations is NotificationCenter the best fit?
#delegate #notification #closure
Memory and ARCMultiple choiceBasics
Which of the following (with no extra measures) create a reference cycle or a permanent…
#notification #closure
Memory and ARCMultiple choiceBasics
Which of the following snippets keep a ViewController from being deallocated after it…
#delegate #closure
ArchitectureShort answerBasics
How does KVO in the Objective-C runtime detect property changes under the hood?
#kvo