Re: NSTableView retain count problem
Re: NSTableView retain count problem
- Subject: Re: NSTableView retain count problem
- From: Jens Alfke <email@hidden>
- Date: Sat, 21 Nov 2009 20:18:48 -0800
On Nov 21, 2009, at 5:07 PM, Shane wrote:
> I've tried setting breakpoints, but it's like two separate variables
> with the name 'records' exist.
That would be literally true, if there were two instances of your class. Try looking at the value of 'self' in each place.
(Again, examining an object's retainCount is almost never useful for anything. If you want to tell whether the pointer is pointing to an object, just look at it and see whether it's 0x0 or not.)
—Jens
_______________________________________________
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