• 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: Getting the version string of any program
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the version string of any program


  • Subject: Re: Getting the version string of any program
  • From: Matt Gillette <email@hidden>
  • Date: Tue, 8 Jun 2004 13:35:32 -0700

For a bundle you can use:

[[[NSBundle bundleForClass:[self class] infoDictionary] objectForKey:@"CFBundleVersion"]]]

typed in Mail

Matt



On Jun 8, 2004, at 12:45 PM, Chaz McGarvey wrote:

Hi.

Is there a robust way to get a version number or string from any program (bundle or not) using Cocoa or Carbon?

Appreciate it.

Chaz McGarvey
http://www.brokenzipper.com
_______________________________________________
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.
_______________________________________________
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: 
 >Getting the version string of any program (From: Chaz McGarvey <email@hidden>)

  • Prev by Date: How does Pixie get the mouse position?
  • Next by Date: Re: / NSFileHandle in rtf and mpg files /
  • Previous by thread: Getting the version string of any program
  • Next by thread: Re: Getting the version string of any program
  • Index(es):
    • Date
    • Thread