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