• 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: NSArrayController and retainCount
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArrayController and retainCount


  • Subject: Re: NSArrayController and retainCount
  • From: Scott Stevenson <email@hidden>
  • Date: Thu, 4 Nov 2004 14:14:55 -0800


On Nov 4, 2004, at 10:43 AM, Steve Moore wrote:

Hello,

I have an NSArrayController (staffController) instantiated in my .nib file. It is bound to an NSMutableArray in MyDocument. In MyDocument's windowControllerDidLoadNib method I checked the retainCount of the staffController (the first line in the method) and it returns a value of 43. This seems odd. I have another NSArrayController (locumsController) that returns a retainCount of 10 at the same time. What accounts for these unusually high values?

Hi Steve,

I only had time to glance at your email, but I think think your issue and a workaround is described here.

http://theobroma.treehouseideas.com/document.page/18


- Scott

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSArrayController and retainCount
      • From: Steve Moore <email@hidden>
References: 
 >NSArrayController and retainCount (From: Steve Moore <email@hidden>)

  • Prev by Date: Re: why no autosave for NSSplitView?
  • Next by Date: Detecting mouse clicks in a PrefPane
  • Previous by thread: NSArrayController and retainCount
  • Next by thread: Re: NSArrayController and retainCount
  • Index(es):
    • Date
    • Thread