Re: Making Inspectors
Re: Making Inspectors
- Subject: Re: Making Inspectors
- From: Scott Anguish <email@hidden>
- Date: Sat, 25 Jun 2005 16:38:25 -0400
yep, but that's why I said add the additional key of your documents
controller..
On Jun 25, 2005, at 12:12 PM, Tim Lucas wrote:
On 25/06/2005, at 9:42 PM, Scott Anguish wrote:
On Jun 24, 2005, at 10:29 AM, Stephane Sudre wrote:
On 24 juin 05, at 15:54, Frank D. Engel, Jr. wrote:
Is there documentation anywhere on how to make "Inspector"
windows, such as the ones in Pages and Keynote? Is there any
"standard" way to do this in Cocoa?
I'm usually using NSNotification to communicate between the
Inspector and the document. YMMV.
that is certainly one way...
another, much easier in many cases, way is to use Cocoa bindings..
you'd want to bind items in the inspector to
NSApplication (or Shared Application, depending on what is displayed)
and then to the mainWindow.windowController.document keypath.. you
may need to add the additional key of your document's controller
as appropriate..
and especially with inspectors wouldn't it be important to bind
through an object controller rather than to the document directly?
- tim lucas
_______________________________________________
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