• 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: Re: determine if file is package
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: determine if file is package


  • Subject: Re: Re: determine if file is package
  • From: "The Karl Adam" <email@hidden>
  • Date: Sun, 21 May 2006 13:47:14 -0400

This is not a valid way to ensure a path is a package, since file
packages don't have to do this, only application packages, and
bundles.

-Karl

On 5/21/06, Colin Howarth <email@hidden> wrote:
On 21.05.2006, at 16:51, Diederik Hoogenboom wrote:


> I was wondering if there is an other way of finding out besides > [[NSWorkspace sharedWorkspace] isFilePackageAtPath:aPath] if a file > is a package or not? > The reason I ask is that -isFilePackageAtPath: is really slow. >

Maybe it's doing lots of work? Would just checking if aPath/Contents/
Info.plist exists be good enough?

NSFileManager/fileExistsAtPath:



colin

 _______________________________________________
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

_______________________________________________
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: 
 >determine if file is package (From: Diederik Hoogenboom <email@hidden>)
 >Re: determine if file is package (From: Ryan Britton <email@hidden>)
 >Re: determine if file is package (From: Colin Howarth <email@hidden>)

  • Prev by Date: Re: determine if file is package
  • Next by Date: how do I know when the user has clicked once in a column?
  • Previous by thread: Re: determine if file is package
  • Next by thread: NSTimeZone's localTimeZone (vs defaultTimeZone)?
  • Index(es):
    • Date
    • Thread