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

Re: NSTableView and keyPath


  • Subject: Re: NSTableView and keyPath
  • From: "ad veloper" <email@hidden>
  • Date: Fri, 10 Aug 2007 09:51:59 +0100

I solved this through the use of an NSObjectController whose
contentObject is bound through the NSApp.delegate.path.to.controller.
I then bound an NSArrayController's contentArray to the
NSObjectController with the keyPath arrayController.arrangedObjects.
It was then just a case of binding the tableColumn to this
NSArrayController's arrangedObjects.attributeToDisplay.

Thanks.
_______________________________________________

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 and keyPath (From: "ad veloper" <email@hidden>)

  • Prev by Date: Re: Dynamic Menu Bars
  • Next by Date: Compile warnings according to method order
  • Previous by thread: NSTableView and keyPath
  • Next by thread: Debugging Cocoa
  • Index(es):
    • Date
    • Thread