• 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: Path for writeToFile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Path for writeToFile


  • Subject: Re: Path for writeToFile
  • From: Michael Ash <email@hidden>
  • Date: Mon, 2 Mar 2009 23:58:05 -0500

On Mon, Mar 2, 2009 at 11:36 PM, Pierce Freeman
<email@hidden> 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@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

References: 
 >Path for writeToFile (From: Pierce Freeman <email@hidden>)

  • Prev by Date: Re: Path for writeToFile
  • Next by Date: Re: Exel and PowerPoint
  • Previous by thread: Re: Path for writeToFile
  • Next by thread: EXC_BAD_ACCESS in _class_changeInfo
  • Index(es):
    • Date
    • Thread