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: Sean McBride <email@hidden>
- Date: Fri, 15 Apr 2011 14:55:10 -0400
- Organization: Rogue Research Inc.
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