• 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: NSUserPath for path to user folder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSUserPath for path to user folder?


  • Subject: Re: NSUserPath for path to user folder?
  • From: "John C. Randolph" <email@hidden>
  • Date: Thu, 3 Mar 2005 11:23:31 -0800


On Mar 2, 2005, at 5:18 PM, Ronald Hofmann wrote:

Hi,
I want to put the path to the user folder into a text field.

I tried searching for something like NSUserPath without success. Any clues?

NSHomeDirectory(), and NSHomeDirectoryForUser() do what you want.

-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: 
 >Re: keyDown:not receiving Command + key events, space bar, left/right arrows (From: Satoshi Matsumoto <email@hidden>)
 >NSUserPath for path to user folder? (From: Ronald Hofmann <email@hidden>)

  • Prev by Date: Re: save to file
  • Next by Date: How do i wrap a set of flies?
  • Previous by thread: Re: NSUserPath for path to user folder?
  • Next by thread: Re: keyDown:not receiving Command + key events, space bar, left/right arrows
  • Index(es):
    • Date
    • Thread