• 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
"Reloading" an NSBrowser bound to an NSTreeController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Reloading" an NSBrowser bound to an NSTreeController


  • Subject: "Reloading" an NSBrowser bound to an NSTreeController
  • From: "Kyle Sluder" <email@hidden>
  • Date: Fri, 11 Jan 2008 17:49:53 -0500

Given your funky syntax, it seems like you're not using KVC accessors,
so the tree controller isn't picking up KVO notifications when you
removeAllObjects.  You can either use KVC compliant accessors and
mutators on the object to which @remoteTree belongs (or however Nu
works), or you can do all your manipulation through the
NSTreeController.  Option 1 will probably entail writing the KVC
to-many relationship accessors so that you can use
mutableArrayValueForKey.

HTH,
--Kyle Sluder
_______________________________________________

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: 
 >"Reloading" an NSBrowser bound to an NSTreeController (From: Adam Thorsen <email@hidden>)

  • Prev by Date: Re: Dynamically validating undo menu item availability (NSUndoManager)
  • Next by Date: Re: Dynamically validating undo menu item availability (NSUndoManager)
  • Previous by thread: "Reloading" an NSBrowser bound to an NSTreeController
  • Next by thread: NSRuleEditor
  • Index(es):
    • Date
    • Thread