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 <mmalc_li...@me.com>

>
> 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 (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/luca.pazzerello%40gmail.com
>
> This email sent to luca.pazzere...@gmail.com
>
_______________________________________________

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

Reply via email to