Re: determine if file is package
Re: determine if file is package
- Subject: Re: determine if file is package
- From: Ryan Britton <email@hidden>
- Date: Sun, 21 May 2006 08:46:44 -0700
LaunchServices can tell you whether or not a specific path is a
package. Take a look at the docs for LSCopyItemInfoForRef. One of
the flags that it can return will indicate package status.
http://developer.apple.com/documentation/Carbon/Reference/
LaunchServicesReference/Reference/reference.html#//apple_ref/c/func/
LSCopyItemInfoForRef
On May 21, 2006, at 7:51 AM, 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.
Diederik
_______________________________________________
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