Memory and ARC
How weak works at runtime
Why is it true that "weak is slower than strong"? Explain it with the Swift runtime's reference count layout: the inline refcount and the side table.
How weak works at runtime
Why is it true that "weak is slower than strong"? Explain it with the Swift runtime's reference count layout: the inline refcount and the side table.
Memory and ARCMultiple choiceIntro
Which of the following statements about weak references are correct? Select all that appl…
#weak
Memory and ARCShort answerBasics
A view controller doesn't seem to leave memory after you close its screen. How would you …
#weak
Memory and ARCShort answerBasics
When would you use unowned instead of weak?
#weak
Memory and ARCShort answerBasics
You try to declare weak var delegate: MyDelegate? and the compiler rejects it. Why, and h…
#weak