Personal Project

Sunday, October 13, 2013

Rules to avoid retain cycles


1. Child view cannot retain parent”s view property.

2. Child view uses weak property pointing to parents.

3. Remove subview → release or close all relationship related to parents.


Good Answer 
ref: 
http://www.cocoawithlove.com/2009/07/rules-to-avoid-retain-cycles.html


No comments:

Post a Comment