Re: further confusion regarding the release of controls loaded from a nib
Re: further confusion regarding the release of controls loaded from a nib
- Subject: Re: further confusion regarding the release of controls loaded from a nib
- From: David Duncan <email@hidden>
- Date: Tue, 20 Mar 2012 13:58:19 -0700
On Mar 20, 2012, at 1:49 PM, G S wrote:
> This just adds more confusion. If the properties for the majority of
> IBOutlets are weak (since they're usually all going to be owned by the
> UIViewController's view), why would we release them in dealloc?
If you aren't using ARC, then you couldn't have declared them weak, and most likely declared them as retain. As such you are responsible for releasing them.
--
David Duncan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden