The displayName API will give me only the file name not the absolute path of the file. Ex: If i have a path as /Users/user/temp.txt, only it will return temp.txt. Similarly componentsToDisplayForPath API will give me an array of NSStrings containing user, temp.txt But my requirement is to get a localized string for Complete absolute path /Users/user/temp.txt
On Fri, May 22, 2009 at 8:39 PM, Michael Ash <michael....@gmail.com> wrote: > On Fri, May 22, 2009 at 9:07 AM, Arun <arun...@gmail.com> wrote: > > Hi All, > > > > I have absolute file path in a NSString. > > Now before displaying this in the UI i need to localize and then display. > > How can i localize the absolute file path. > > Since in my app i am displaying the absolute file name using of > > NSFileManager API's like displayName and componentsToDisplayForPath are > not > > useful me. > > Can you explain why they're not useful? They're exactly what I would > recommend you use. > > Mike > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/arun.ka%40gmail.com > > This email sent to arun...@gmail.com > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com