• 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
CFBundleGetInfoString Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CFBundleGetInfoString Question


  • Subject: CFBundleGetInfoString Question
  • From: Tom Gray <email@hidden>
  • Date: Tue, 26 Nov 2002 23:30:08 -0500

How can I get a hold of CFBundleGetInfoString from within my program?

I tried this:

NSDictionary *pListStrings;

pListStrings = [NSDictionary dictionaryWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"Info" ofType:@"pList"]];
NSLog(@"count:%i", [pListStrings count]);
NSLog([pListStrings objectForKey:@"CFBundleGetInfoString"]);

But ran into a series of errors.

Tom Gray
-------------
email@hidden
or
email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: CFBundleGetInfoString Question
      • From: Douglas Davidson <email@hidden>
    • Re: CFBundleGetInfoString Question
      • From: Nicholas Riley <email@hidden>
  • Prev by Date: Re: Single document behavior
  • Next by Date: NSTextField Question
  • Previous by thread: Repost: Autosaving columns in NSTableView
  • Next by thread: Re: CFBundleGetInfoString Question
  • Index(es):
    • Date
    • Thread