Re: Correct way to tell if a path is to a .bundle?
Re: Correct way to tell if a path is to a .bundle?
- Subject: Re: Correct way to tell if a path is to a .bundle?
- From: Mike Abdullah <email@hidden>
- Date: Fri, 25 Sep 2009 10:25:30 +0100
I would read up on UTIs. Get the type of each file and see if it
conforms to what you require.
I have what I hope is a reasonably informative post here:
http://www.mikeabdullah.net/utis_diagram/
Note how there is a com.apple.plugin type. If you're using a custom
format for your plug-ins (and you should), make your app declare a
com.foo.app.plugin type for them, which conforms to com.apple.plugin.
On 25 Sep 2009, at 02:41, Rick Mann wrote:
I'm scanning a directory for plugins for my app. Given a path,
what's the right way to tell if it's a path to a bundle?
TIA
--
Rick
_______________________________________________
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
_______________________________________________
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