• 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: Wed, 5 Nov 2003 20:04:33 +0100

Tougher seems to be to have an NSArrayController in my document managing an array of items (displayed in an NSTableView) and now accessing properties of the currently selected item in such a "global" info panel. Havent tried yet, but cant come up with an easy solution. Scott, would something like this work: bind the palette Ui items to the shared app with a keypath of mainWindow.document.arrayController.selection.desiredProperty? (if, of course, the document has an outlet connected to the arrayController)


it does work :-) cool...


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.

References: 
 >NSController, currentDocument (From: Raphael Sebbe <email@hidden>)
 >Re: NSController, currentDocument (From: Scott Anguish <email@hidden>)
 >Re: NSController, currentDocument (From: Marco Binder <email@hidden>)

  • Prev by Date: Framework in application with Xcode ?
  • Next by Date: RE: Advanced Reachability APIs
  • Previous by thread: Re: NSController, currentDocument
  • Next by thread: Re: NSController, currentDocument
  • Index(es):
    • Date
    • Thread