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

Re: determine if file is package


  • Subject: Re: determine if file is package
  • From: Colin Howarth <email@hidden>
  • Date: Sun, 21 May 2006 18:57:58 +0200

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


  • Follow-Ups:
    • Re: Re: determine if file is package
      • From: "The Karl Adam" <email@hidden>
    • Re: determine if file is package
      • From: j o a r <email@hidden>
References: 
 >determine if file is package (From: Diederik Hoogenboom <email@hidden>)
 >Re: determine if file is package (From: Ryan Britton <email@hidden>)

  • Prev by Date: Re: iTunes user rating
  • Next by Date: How do I find a specific file on disk?
  • Previous by thread: Re: determine if file is package
  • Next by thread: Re: determine if file is package
  • Index(es):
    • Date
    • Thread