Re: alloc/release confusion
Re: alloc/release confusion
- Subject: Re: alloc/release confusion
- From: Luca Pazzerello <email@hidden>
- Date: Sat, 14 Feb 2009 19:56:07 +0100
As the documentation reports, be careful: the -retainCount unfortunately
doesn't usually return values useful to the debugging.
--Luca C.
2009/2/14 mmalc Crawford <email@hidden>
>
> On Feb 13, 2009, at 4:55 PM, Boon Chew wrote:
>
> Is there a way in Cocoa to find out the reference count of an object (for
>> debugging purposes)?
>>
>> <
> http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Protocols/NSObject_Protocol/Reference/NSObject.html#//apple_ref/occ/intfm/NSObject/retainCount
> >
>
> mmalc
>
>
> _______________________________________________
>
> 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
>
_______________________________________________
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