Re: Path to desktop
Re: Path to desktop
- Subject: Re: Path to desktop
- From: "Shawn Erickson" <email@hidden>
- Date: Mon, 9 Jul 2007 11:01:27 -0700
On 7/9/07, Chris Parker <email@hidden> wrote:
I think you'll find this:
NSArray * paths =
NSSearchPathForDirectoriesInDomains(NSDesktopDirectory,
NSUserDomainMask, YES);
NSString * desktop_path = [paths objectAtIndex:0];
gets you all the way there.
Oh yeah forgot about what the last parameter meant ... was thinking it
was create folder if needed which is what FSFindFolder has.
-Shawn
_______________________________________________
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