Re: Releasing memory
Re: Releasing memory
- Subject: Re: Releasing memory
- From: Nick Zitzmann <email@hidden>
- Date: Sat, 3 Jul 2004 15:53:03 -0600
On Jul 3, 2004, at 1:11 PM, Jonathan Jackel wrote:
I am new to cocoa and am having trouble getting my head around when
to release objects. Is their anyway in x-code/debugger to see the
retain count of an object
NSLog(@"Retain count = %d", [yourObject retainCount]);
Or, to do that in the debugger console:
print (unsigned int)[yourObject retainCount]
The GDB documentation is your friend:
<file:///Developer/Documentation/DeveloperTools/gdb/gdb/gdb_toc.html>
Nick Zitzmann
<
http://www.chronosnet.com/>
_______________________________________________
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.