Skip to content

Instantly share code, notes, and snippets.

@adow
Created December 11, 2013 15:08
Show Gist options
  • Save adow/7912008 to your computer and use it in GitHub Desktop.
Save adow/7912008 to your computer and use it in GitHub Desktop.
iOS 中的一些目录
#define PATH_HOME NSHomeDirectory() ///获取主目录
#define PATH_TEMP NSTemporaryDirectory() ///获取临时目录
#define PATH_DOCUMENT NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDirectory, YES)[0] ///获取文档目录
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment