Re: NSController, currentDocument
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.