• 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: 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

  • Follow-Ups:
    • Re: NSTableView retain count problem
      • From: Shane <email@hidden>
References: 
 >NSTableView retain count problem (From: Shane <email@hidden>)
 >Re: NSTableView retain count problem (From: Jens Alfke <email@hidden>)
 >Re: NSTableView retain count problem (From: Shane <email@hidden>)

  • Prev by Date: Re: method_getNumberOfArguments counts blocks twice
  • Next by Date: [iPhone] UIButton adding glow effect for a custom button with image
  • Previous by thread: Re: NSTableView retain count problem
  • Next by thread: Re: NSTableView retain count problem
  • Index(es):
    • Date
    • Thread