• 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: Recognizing standard about box
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recognizing standard about box


  • Subject: Re: Recognizing standard about box
  • From: Andy Lee <email@hidden>
  • Date: Fri, 28 Jun 2002 12:13:08 -0400

At 6:27 AM -0400 6/28/02, Bill Cheeseman wrote:
on 02-06-28 12:09 AM, Andy Lee at email@hidden wrote:
> Wait a minute. I just realized you can simply look at the window's
delegate. If it's an instance of NSSystemInfoPanel, then it's the
About panel.

I was about to suggest the same thing in response to your previous very
clever post. However, how do you know there will never be another panel in
an application having the same delegate?

True, one would be making a leap of faith in a guess about an undocumented class. I wish I could say that's why I didn't suggest checking the delegate in the first place, but it just didn't occur to me even though I had gone to all that effort to discover there *was* a delegate.

It's inconsistent, if not outright wrong, for the AppKit to throw up a panel that the programmer can't get at. I've filed a bug asking for:

(1) NSApplication methods +standardAboutPanel and +standardAboutPanelExists, analogous to what NSFontPanel has,

(2) the ability to customize the standard About panel with some kind of accessory view as other standard panels have, and, while I'm at it,

(3) a way to specify a home URL for the application, and have it show up as a clickable link. This could easily be done by adding an option to -orderFrontStandardAboutPanelWithOptions:. I've noticed a few Cocoa apps, even very good ones, that don't have such a URL in their About panel.

I tried to look inside NSSystemInfoPanel.nib, but it won't open using
Interface Builder or nibtool.

Just for grins, I tried putting a nib of the same name in my project, but it didn't get used; the system one took precedence.

--Andy
_______________________________________________
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: 
 >Re: Recognizing standard about box (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: NSOpenGLView as initialFirstResponder
  • Next by Date: Re: Autosaving a window's frame
  • Previous by thread: Re: Recognizing standard about box
  • Next by thread: Re: Recognizing standard about box
  • Index(es):
    • Date
    • Thread