PDA

View Full Version : Default Cocoa "about..." panel


Feanor
2002.05.24, 09:44 AM
Where does it come from? I see it's spawned by an action messages sent to NSApplication.orderFrontStandardAboutPanel:
I suppose it's not going to be a problem to re-wire that, but I'm curious as to where the nib is which holds that panel. Probably buried in the /System/Library folder somewhere? Meaning I can't just edit it for my use. What's interesting is that it manages to dynamically read the application and author names. Are those read from defaults?

B

kainsin
2002.05.24, 10:58 AM
Yup, that's correct. The standard About... function creates a dialog with the application's icon in it and adds to it two lines of text, the application's name and version number. Both of those lines of text are found in the initial string localization file that Project Builder creates automatically.