• 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
modifying info dictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

modifying info dictionary


  • Subject: modifying info dictionary
  • From: "Oscar Bascara" <email@hidden>
  • Date: Fri, 17 Aug 2007 08:51:23 -0700

I'd like to modify the info dictionary so that the About dialog will
indicate the number of days remaining in a trial version.
Specifically, I'd like to tack on that extra information at the end of
NSHumanReadableCopyright:

	NSDictionary *dict = [[NSBundle mainBundle] infoDictionary];
	NSString *hrc = [dict objectForKey:@"NSHumanReadableCopyright"];
	hrc = [NSString stringWithFormat:@"%@ (extra information here)", hrc];
	[dict setValue:hrc forKey:@"NSHumanReadableCopyright"];

Is this an acceptable modification?  Are there any side effects that I
should know about?

Thanks,
Oscar
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: modifying info dictionary
      • From: Douglas Davidson <email@hidden>
    • Re: modifying info dictionary
      • From: "Julio Cesar Silva dos Santos" <email@hidden>
  • Prev by Date: Re: Dictionaries
  • Next by Date: Re: Inheritance question
  • Previous by thread: Re: NSViewAnimation on bounds
  • Next by thread: Re: modifying info dictionary
  • Index(es):
    • Date
    • Thread