• 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: Good example code for an Inspector/Get Info window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Good example code for an Inspector/Get Info window?


  • Subject: Re: Good example code for an Inspector/Get Info window?
  • From: Scott Anguish <email@hidden>
  • Date: Sat, 3 Jan 2004 02:38:38 -0500

On Jan 2, 2004, at 11:17 PM, Nick Zitzmann wrote:

> The difficult part in writing inspectors is figuring out when to
> update the inspector. If you're using a class that has a did-change
> delegate or notification, then this isn't too difficult - just listen
> for changes, and tell the inspector to update when a change occurs. If
> you're using NSBrowser or NSMatrix, or some other view that has no
> built-in way of telling others that the class changed, then some
> subclassing will be necessary...
>

why would you need to subclass NSBrowser or NSMatrix?

your application will need to detect the change in selection, but both
those have target methods that can be used to determine that something
has been clicked on. Delegate methods give some additional control
over NSBrowser selection.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Good example code for an Inspector/Get Info window? (From: Jim Rankin <email@hidden>)
 >Re: Good example code for an Inspector/Get Info window? (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Converting NSString to char constant (answered)
  • Next by Date: Problems with Distributed Objects [update]
  • Previous by thread: Re: Good example code for an Inspector/Get Info window?
  • Next by thread: Re: Good example code for an Inspector/Get Info window?
  • Index(es):
    • Date
    • Thread