Re: Seeing an objects retain count
Re: Seeing an objects retain count
- Subject: Re: Seeing an objects retain count
- From: Ben Kennedy <email@hidden>
- Date: Sun, 28 Apr 2002 23:33:28 -0400
On 28,04,02 at 11:35 pm -0400, Al Kirkus wrote:
>
Is there a simple way (instance method) to query an object for its
>
current retain count?
Yup, remarkably enough, -[NSObject retainCount].
(maybe check the docs for NSObject?)
-ben
--
Ben Kennedy, chief magician
zygoat creative technical services
613-228-3392 | 1-866-466-4628
http://www.zygoat.ca
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.