• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Making Inspectors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making Inspectors


  • Subject: Re: Making Inspectors
  • From: Tim Lucas <email@hidden>
  • Date: Sun, 26 Jun 2005 02:12:23 +1000

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


  • Follow-Ups:
    • Re: Making Inspectors
      • From: Scott Anguish <email@hidden>
References: 
 >Making Inspectors (From: "Frank D. Engel, Jr." <email@hidden>)
 >Re: Making Inspectors (From: Stephane Sudre <email@hidden>)
 >Re: Making Inspectors (From: Scott Anguish <email@hidden>)

  • Prev by Date: CoreImage transitions on windows
  • Next by Date: Re: scrollPoint in Tiger
  • Previous by thread: Re: Making Inspectors
  • Next by thread: Re: Making Inspectors
  • Index(es):
    • Date
    • Thread