• 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: Designing inspector palettes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Designing inspector palettes


  • Subject: Re: Designing inspector palettes
  • From: Greg Titus <email@hidden>
  • Date: Fri, 26 Oct 2001 11:16:13 -0700

On Friday, October 26, 2001, at 10:37 AM, John C. Randolph wrote:
On Friday, October 26, 2001, at 10:12 AM, Ken Tabb wrote:
[2] How do you get all the documents to use the same inspector window?
I'm guessing an NSWindowController and/or NSDocumentController is key in
making sure there's only 1 palette, accessed by each of its documents?

The usual way to do this, is for the object that owns the inspector window to watch for notifications that say the active document or selected object has changed. There should be an example of this in Sketch.app in the AppKit examples.

There is also an inspector architecture in OmniAppKit. All you need to do is have your window/document respond to -inspectedObject, and register inspector panels for various classes of objects that can be inspected.

--Greg


References: 
 >Re: Designing inspector palettes (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: Changing Desktop picture from Cocoa app in 10.1 without re-starting Finder [Success!]
  • Next by Date: Re: Drawing a String in Java
  • Previous by thread: Re: Designing inspector palettes
  • Next by thread: Re: Designing inspector palettes
  • Index(es):
    • Date
    • Thread