Re: Where to release in UIView
Re: Where to release in UIView
- Subject: Re: Where to release in UIView
- From: Fritz Anderson <email@hidden>
- Date: Sat, 18 Jul 2009 10:08:09 -0500
On 18 Jul 2009, at 9:59 AM, DKJ wrote:
I've got a UIView object that uses an NSDictionary. The UIView is
instantiated from a nib, so I initialise the dictionary in
awakeFromNib, since the initWithFrame: method is never called. Is it
appropriate to release this dictionary in the UIView dealloc method?
How did you create the NSDictionary? Do you declare a property or
accessor methods for the instance variable? Did you use them? If a
property, does it have the copy or retain attributes?
Show your declaration and initialization code.
— F
--
Fritz Anderson -- Xcode 3 Unleashed: Now in its second printing -- <http://x3u.manoverboard.org/
>
_______________________________________________
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