• 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: telling when a directory is really a bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: telling when a directory is really a bundle


  • Subject: Re: telling when a directory is really a bundle
  • From: Martin Redington <email@hidden>
  • Date: Mon, 22 Oct 2007 15:44:05 +0100


It is -[NSWorkSpace isFilePackageAtPath:], and works a treat.

    cheers,
         m.

On 22 Oct 2007, at 13:46, Uli Kusterer wrote:

On 22.10.2007, at 14:35, Martin Redington wrote:
So, given a directory, how can I tell if it is a bundle or not. I've tried looking at the bundle bit, but in my /Applications directory, only four .apps seemed to have it turn on.

NSWorkspace has an isFilePackageAtPath method... or maybe it was NSFileManager.


Cheers,
-- M. Uli Kusterer
http://www.zathras.de





_______________________________________________

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


References: 
 >telling when a directory is really a bundle (From: Martin Redington <email@hidden>)
 >Re: telling when a directory is really a bundle (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: telling when a directory is really a bundle
  • Next by Date: Re: telling when a directory is really a bundle
  • Previous by thread: Re: telling when a directory is really a bundle
  • Next by thread: Re: telling when a directory is really a bundle
  • Index(es):
    • Date
    • Thread