Skip to content

Instantly share code, notes, and snippets.

@martinbowling
Created January 25, 2011 00:48
Show Gist options
  • Save martinbowling/794311 to your computer and use it in GitHub Desktop.
Save martinbowling/794311 to your computer and use it in GitHub Desktop.
iPhone Application Directory
/*
basedir/AppName.app Where the executables live. This is also the current working directory (Environment.CurrentDirectory).
basedir/Documents Where application-specific data files are stored. (This directory is backed up by iTunes.)
basedir/Library/Preferences Application-specific configuration settings. You should manage your settings using the NSUserDefaults class. (This directory is backed up by iTunes.)
basedir/Library/Caches Use this directory to store any cache data to be used across invocations of the application.
Your application is responsible for removing data files from this directory when it no longer needs them.
basedir/tmp Use for temporary files.
*/
var basedir = Path.Combine (Environment.GetFolderPath (Environment.SpecialFolder.Personal), "..");
var tempdir = Path.Combine(basedir, "tmp");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment