• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: get complete path with NSString?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: get complete path with NSString?


  • Subject: Re: get complete path with NSString?
  • From: "John C. Randolph" <email@hidden>
  • Date: Sun, 20 Feb 2005 02:50:51 -0800


On Feb 17, 2005, at 7:52 AM, Luc Vandal wrote:

Hi,

is there a way to convert path like ~/some folder to Users/Me/some folder?

- (NSString *)stringByExpandingTildeInPath

Returns a new string made by expanding the initial component of the receiver, if it begins with “~” or “~user”, to its full path value. Returns a new string matching the receiver if the receiver’s initial component can’t be expanded.
See Also: – stringByAbbreviatingWithTildeInPath




-jcr


John C. Randolph <email@hidden> (408) 974-8819 Sr. Cocoa Software Engineer, Apple Worldwide Developer Relations http://developer.apple.com/cocoa/index.html



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >get complete path with NSString? (From: Luc Vandal <email@hidden>)

  • Prev by Date: Re: NSWindow delegate handling keyboard events
  • Next by Date: Re: Detecting when the number of lines in an NSTextView has changed
  • Previous by thread: Re: get complete path with NSString?
  • Next by thread: Thesaurus for Cocoa/Objective-C
  • Index(es):
    • Date
    • Thread