Since KVC is used to set outlets on the iPhone, there are 2 methods (that I know of) to make sure you've properly handled memory management.
Specifically, I am referring to this article written by Aaron Hillegass.
My question is which method do you use and what is your reasoning?
- Release all your outlets in dealloc and viewDidUnload (Make sure you set them to nil in viewDidUnload.)
- Make your outlets weak references
Personally, I am leaning towards using weak references as it seems cleaner.