Re: alternate file extension
Re: alternate file extension
- Subject: Re: alternate file extension
- From: "Philip Q" <email@hidden>
- Date: Tue, 20 Feb 2007 14:16:02 +1300
On 20/02/07, Jacob Eggers <email@hidden> wrote:
Is there an easy way to handle this, or should I just write a custom
NSBundle class with the many appropriate checks?
You could use Spotlight to search the directory for files conforming
to the 'public.image' UTI type.
You could also enumerate through the files in the directory and check
for their conformance to 'public.image'.
I'm not quite sure why you'd want to do it in NSBundle though, unless
you're specifically dealing with a bundle-type directory.
-Phil
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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