Re: telling when a directory is really a bundle
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