• 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: About Panel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Class —> Framework
  • Next by Date: Re: Opening the Trash in the Finder?
  • Previous by thread: About Panel
  • Next by thread: Re: About Panel
  • Index(es):
    • Date
    • Thread