Newbie: How to know whether an object is in autorelease pool
Newbie: How to know whether an object is in autorelease pool
- Subject: Newbie: How to know whether an object is in autorelease pool
- From: norio <email@hidden>
- Date: Wed, 12 Dec 2007 14:38:27 +0900
Hi,
Is there any ways to know whether or not an object has been put in an
autorelease pool?
I know that class factory puts its instance into autorelease pool.
But I still don't know whether the other methods like subdataWithRange
of NSData is put in the pool or not.
Carbon documentation describes who needs to release the returned
object, but not Cocoa's.
I'm always confused with this.
Thanks,
norio Ota
_______________________________________________
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