• 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: NSController, currentDocument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSController, currentDocument


  • Subject: Re: NSController, currentDocument
  • From: Marco Binder <email@hidden>
  • Date: Sun, 9 Nov 2003 18:24:41 +0100

Scott, would something like this work: bind the palette Ui items to the shared app with a keypath of mainWindow.document.arrayController.selection.desiredProperty?

Yes, this is an easy way to do inspectors...

Still, if I have an NSArrayController in my document, managing an NSTableView, I can not figure out, how to display the same array of objects / only the selected objects in an app-wide inspector. I set the columns4bindings in the inspector4s tableview to something like mainWindow.document.myArrayController.selection.propertyName and it just wont work. I ve tried many ways, just havent found the right one. Have you done anything like this? Any pointer appreciated!

Marco
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSController, currentDocument
      • From: Marco Binder <email@hidden>
References: 
 >NSController, currentDocument (From: Raphael Sebbe <email@hidden>)
 >Re: NSController, currentDocument (From: Scott Anguish <email@hidden>)
 >Re: NSController, currentDocument (From: Marco Binder <email@hidden>)
 >Re: NSController, currentDocument (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Apple Human Interface values?
  • Next by Date: Re: Getting started with XML and XMLParser
  • Previous by thread: Re: NSController, currentDocument
  • Next by thread: Re: NSController, currentDocument
  • Index(es):
    • Date
    • Thread