• 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: 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

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

  • Prev by Date: Re: Class clusters - infinite loop?
  • Next by Date: Re: Class clusters - infinite loop?
  • Previous by thread: Re: Making Inspectors
  • Next by thread: Re: Making Inspectors
  • Index(es):
    • Date
    • Thread