Re: Calling -retain inside -dealloc
Re: Calling -retain inside -dealloc
- Subject: Re: Calling -retain inside -dealloc
- From: Andrew Garber <email@hidden>
- Date: Mon, 27 Jun 2005 00:15:40 -0700
mmalc,
The problem isn't that my class is suffering performance-wise. This is
just an experiment to see how much of a performance increase can be
gained in this case by using an alternative to NSNotifications.
Keeping references to instances in various class variables (like an
NSMutableArray) was the most elegant approach I could think of.
NSMutableArray's addObject, removeObject, and containsObject methods
are very convenient for what I'm trying to accomplish, so I would be
great I could use an NSMutableArray without having it mess with the
retain/release counts.
_______________________________________________
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