• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTableView retain count problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSTableView retain count problem (From: Shane <email@hidden>)
 >Re: NSTableView retain count problem (From: Mark Munz <email@hidden>)

  • Prev by Date: Re: NSTableView retain count problem
  • Next by Date: UITextField Cursor Color
  • Previous by thread: Re: NSTableView retain count problem
  • Next by thread: Re: NSTableView retain count problem
  • Index(es):
    • Date
    • Thread