Jan 14, 2023
If you hold a strong optional reference and weak reference to the same parent object, then when you release the strong reference to the parent the weak reference should go nil as well.
If not, then reference cycle.
If you hold a strong optional reference and weak reference to the same parent object, then when you release the strong reference to the parent the weak reference should go nil as well.
If not, then reference cycle.
I write about Apple, Swift, and SwiftUI in particular, and technology in general. I'm also a Lead iOS Engineer at InRhythm, a modern digital consulting firm.