Re: Master-Detail interfaces, Multiple Documents, and floating windows
Re: Master-Detail interfaces, Multiple Documents, and floating windows
- Subject: Re: Master-Detail interfaces, Multiple Documents, and floating windows
- From: George Orthwein <email@hidden>
- Date: Sat, 9 Sep 2006 23:50:10 -0400
Not sure exactly why what you have isn't working but typically
inspectors bind via Shared App ->
mainWindow.windowController.document.xxx.
e.g:
Bind To: Shared Application
Controller Key:
Model Key Path:
mainWindow.windowController.document.transformationController.selectionI
ndexes
This is mentioned once in the docs but not in an obvious place.
Bottom of:
http://developer.apple.com/documentation/Cocoa/Conceptual/
CocoaBindings/Concepts/CntrlSelection.html
On Sep 8, 2006, at 6:17 PM, Ron Aldrich wrote:
In both cases, the Controller Key field is disabled within
Interface Builder.
I think that field is only used when binding to an NSObjectController
or its subclasses. It's really just a convenience and when you
"close" the binding you see a larger key path is formed anyway, e.g.
"selection.xxx.xxx". It just shows the valid keys for a controller
and thus requires that you use one of them as the first part of the
key path. That's my read of it anyway.
Hope that works for you!
George
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden