Re: Case sensitive fileName
Re: Case sensitive fileName
- Subject: Re: Case sensitive fileName
- From: Andreas Mayer <email@hidden>
- Date: Wed, 17 Mar 2010 18:35:18 +0100
Am 17.03.2010 um 17:46 Uhr schrieb Kevin Wojniak:
NSLog(@"displayNameAtPath: %@", [[NSFileManager defaultManager]
displayNameAtPath:path]);
Note that -displayNameAtPath: will give you the localized name if one
should exist.
(For example you'll get 'Programme' for the 'Applications' folder if
you happen to be on a German system.)
You can't use that as an input to file system functions.
Since the OP didn't say what he needs the filename for, -
displayNameAtPath: may or may not be the right solution.
Andreas
_______________________________________________
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