Beginner Swift
Q20 / 100

What is the strong reference cycle in Swift?

Correct! Well done.

Incorrect.

The correct answer is B) Two or more class instances holding strong references to each other, preventing ARC from deallocating them

B

Correct Answer

Two or more class instances holding strong references to each other, preventing ARC from deallocating them

Explanation

If A holds a strong reference to B and B holds a strong reference to A, neither is deallocated. Break cycles with weak or unowned references.

Progress
20/100