> but *not* this:
> self.myFields = [[NSMutableArray alloc] init];
>
> That's a memory leak right there. :)
This discussion is confusing me a bit... lets see if I got this right:
If you are *not* using getters and setters but instead have myFields declared
as:
@interface MyClass
{
NSMutableDictionary *myFields;
}
and you use the above line of code, and subsequently release myFields in your
dealloc method.... this would *not* be a memory leak, correct?
-Noah_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com