On Mon, Mar 2, 2009 at 11:36 PM, Pierce Freeman <[email protected]> wrote: > Hi everyone: > > I am running into a bit of a problem when trying to use writeToFile with > NSDictionary. My problem is that I want to be able to get a file on the > Desktop but I can't find a way to do that without knowing the directory > structure of the user. If anyone could point me in the right direction, it > would be great.
Looking up the path to a standard location without hardcoding the directory structure is just the sort of thing that the NSSearchPathForDirectoriesInDomains() is for. Mike _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
