Best practice in viewDidUnload?
What is the best practice in viewDidUnload? To set to nil IBOutlets only or each instance variable too (release before)?
Than开发者_开发技巧ks in advance.
Release instance variables before setting to nil. You don't really need to set them to nil, though.
Basically, you do the tear down of any code in viewDidLoad.
精彩评论