Re: About Panel
Re: About Panel
- Subject: Re: About Panel
- From: email@hidden
- Date: Tue, 28 May 2002 22:48:26 +0200
On mardi, mai 28, 2002, at 10:16 , Lorenzo Mazzucco wrote:
Hi,
I want to add a nice About Panel for my Application but I don't want to
use
the default panel. I would like to add more infos (from a HTML file).
So, I've made a Panelin IB with an icon, some text labels and a
NSScrollView
too in order to add html/graphics.
I would like the texts to be CFBundleName, CFBundleShortVersionS and
NSHumanReadableCop from my Info plist.
How can I tell Interface Builder to use those informations ?
You can't.
Do I need to type some code in PB ?
Yes.
You will need to type something like this:
NSDictionary * tDictionary;
tDictionary=[[NSBundle mainBundle] infoDictionary];
[myOutlet setStringValue:[tDictionary objectForKey@"CFBundleName"];
etc...
_______________________________________________
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: | |
| >About Panel (From: Lorenzo Mazzucco <email@hidden>) |