Re: Where to release in UIView
Re: Where to release in UIView
- Subject: Re: Where to release in UIView
- From: Ricky Sharp <email@hidden>
- Date: Sat, 18 Jul 2009 13:59:05 -0500
On Jul 18, 2009, at 1:09 PM, DKJ wrote:
On 18-Jul-09, at 8:50 , Fritz Anderson wrote:
You have to release shadingAreas. You alloc'ed it, you own it.
Yes, I realise that. What I'm wondering is where to do it, since
it's initialised in the awakeFromNib method, rather than in
initWithFrame:.
You really should read up on memory management. It does not matter
where you created that object. If your view will own that object, it
should release it in dealloc.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
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