alternate file extension
alternate file extension
- Subject: alternate file extension
- From: "Jacob Eggers" <email@hidden>
- Date: Mon, 19 Feb 2007 17:39:32 -0500
Okay, so this is a simple question, I want to get an NSArray with all of the
images in a particular directory.
I could do something like this:
[bundle pathsForResourcesOfType: @"jpg" inDirectory: dir];
But, then I'm missing extensions of gif, tiff.. not to mention jpeg, JPG
Jpeg....
Is there an easy way to handle this, or should I just write a custom
NSBundle class with the many appropriate checks?
I know that someone here will have a great answer for me, I'm two for two so
far.
j
_______________________________________________
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