I've read a lot about retain cycles. When necessary, a parent UIViewController
should always have a strong
reference to its child UIViewController
while the child should have a weak
reference to its parent.
Is this ONLY when they're referencing each other? For example, if the parent UIViewController
DOES NOT have any reference to its child, can the child have a strong
reference to its parent UIViewController
? Can I get away with this, or is this bad practice in terms of memory issues coming up in the long run?