Re: NSToolbar Problem
Re: NSToolbar Problem
- Subject: Re: NSToolbar Problem
- From: j o a r <email@hidden>
- Date: Fri, 1 Apr 2005 20:00:28 +0200
On 1 apr 2005, at 19.52, Julian Cain wrote: - (void)dealloc { delete(_imageLeft); delete(_imageMiddle); delete(_imageRight); delete(_imageLeftPress); delete(_imageMiddlePress); delete(_imageRightPress); delete(_imageLeftRoll); delete(_imageMiddleRoll); delete(_imageRightRoll); delete(_badge); [super dealloc]; }
I don't see the point of releasing the shared images in your instance dealloc method. If they're not retained anywhere else, they will be deallocated, and no longer accessible for the remaining and future instances of your class.
j o a r
|
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden