• 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: how do I get a files version?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how do I get a files version?


  • Subject: Re: how do I get a files version?
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 15 May 2006 21:00:03 -0600


On May 15, 2006, at 8:44 PM, Alan Smith wrote:

The file I want is a plugin and since the Finder can get this I should
be able to too. I saw NSFileManagers fileAttributesAtPath... or
whatever but the dictianary it returns doesn't seem to contain the
data I'm looking for. Where can I get this info?

If it's a bundle, then you need to manually load the bundle's Info.plist file.


If it's not a bundle, but it has a resource fork, then you need to manually load its 'vers' resource.

Nick Zitzmann
<http://www.chronosnet.com/>




_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >how do I get a files version? (From: "Alan Smith" <email@hidden>)

  • Prev by Date: Re: More Mac like handling of OS raised exceptions
  • Next by Date: incompatible pointer type warning, but everything OK?
  • Previous by thread: how do I get a files version?
  • Next by thread: incompatible pointer type warning, but everything OK?
  • Index(es):
    • Date
    • Thread