releasing a object containing others in a array
releasing a object containing others in a array
- Subject: releasing a object containing others in a array
- From: Nick Rogers <email@hidden>
- Date: Sat, 03 Oct 2009 13:40:52 +0530
Hi,
I have a class as following:
@interface NodeTypeOrph : NSObject {
int count;
ItemTypeOrph *key[4]; // Warning: indexing starts at 0, not 1
NodeTypeOrph *branch[5]; // Fake pointers to child nodes
}
when I'll send a release to an object of this type, will it
automatically release the arrays of ItemTypeOrph and NodeTypeOrph
objects.
Or do I have to explicitly traverse and release?
Wishes,
Nick
_______________________________________________
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