Re: renaming directories and moving files into them (NSFileManager)
Re: renaming directories and moving files into them (NSFileManager)
- Subject: Re: renaming directories and moving files into them (NSFileManager)
- From: Scott Anguish <email@hidden>
- Date: Fri, 15 Apr 2011 23:17:41 -0400
Yes, if it was a situation where that was an issue, I would. But it’s a personal situation, only .mp4s are going to show up.
On Apr 15, 2011, at 2:55 PM, Sean McBride wrote:
> On Fri, 15 Apr 2011 01:47:56 -0400, Scott Anguish said:
>
>> if ([[eachPath pathExtension] isEqualToString:@"mp4"]) {
>
> Not what you were asking, but you should probably do a case insensitive
> test here, there are a lot of FAT16 USB keys out there that turn
> extensions into .MP4. :) Also, better to test the file's UTI, not its
> extension.
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng email@hidden
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
>
_______________________________________________
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