开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜