Re: NSTableView retain count problem
Re: NSTableView retain count problem
- Subject: Re: NSTableView retain count problem
- From: Shane <email@hidden>
- Date: Sat, 21 Nov 2009 23:59:30 -0600
On Sat, Nov 21, 2009 at 11:55 PM, Mark Munz <email@hidden> wrote:
> Since records is a instance variable, you don't want to autorelease
> it. You want it to stick around until the object is destroyed.
>
> Delete the [records autorelease]; reference in createDictionary.
>
> then add
>
> (void) dealloc
> {
> [records release];
> [super dealloc];
> }
>
Yeah, I've already done that. But I'm still seeing that self has two
different addresses when I print it out in either createDictionary, or
numberOfRowsInTableView. So the problem hasn't gone away.
_______________________________________________
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