Re: Number of images in main bundle folder (iPhone)
Re: Number of images in main bundle folder (iPhone)
- Subject: Re: Number of images in main bundle folder (iPhone)
- From: "Eric E. Dolecki" <email@hidden>
- Date: Thu, 25 Jun 2009 19:24:47 -0400
Many thanks.
On Thu, Jun 25, 2009 at 6:55 PM, Steve Christensen <email@hidden> wrote:
> You mean that quick perusal of NSBundle.h didn't turn up anything? Maybe my
> headers are different from yours, but it was really easy to come up with
> that line myself:
>
> NSUInteger jpegCount = [[[NSBundle mainBundle] pathsForResourcesOfType:@"jpg"
> inDirectory:subDirName] count];
>
>
>
> On Jun 25, 2009, at 2:28 PM, Eric E. Dolecki wrote:
>
> iPhone:
>> I saw someplace online where a guy got the count for the number of JPGs in
>> a
>> folder in the main bundle but I can't find that again.
>> Can anyone supply the line of code that would return something like that?
>> I'm googling now too and haven't found it yet.
>>
>
>
--
http://ericd.net
Interactive design and development
_______________________________________________
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