Re: Making Inspectors
Re: Making Inspectors
- Subject: Re: Making Inspectors
- From: Scott Anguish <email@hidden>
- Date: Sat, 25 Jun 2005 07:42:33 -0400
On Jun 24, 2005, at 10:29 AM, Stephane Sudre wrote:
On 24 juin 05, at 15:54, Frank D. Engel, Jr. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
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..
|
_______________________________________________
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