Posted By

sag333ar on 11/27/10


iphone NSDocumentDirectory

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


NSDocumentDirectory Getting DocumentsDir PathString in one statement

 / Published in: Objective C

  1. #define documentsDirectory_Statement NSString *documentsDirectory; \
  2. NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); \
  3. documentsDirectory = [paths objectAtIndex:0];

Report this snippet  

You need to login to post a comment.