Question: How can you avoid a strong reference cycle in a closure?

  1. Use a capture list to set class instances of weak or unowned.
  2. You can't, there will always be a danger of strong reference cycles inside a closure.
  3. Initialize the closure as read-only.
  4. Declare the closure variable as lazy.

Answer: The correct answer of the above question is Option A:Use a capture list to set class instances of weak or unowned.