Return to Snippet

Revision: 51344
at September 21, 2011 20:37 by yasirmturk


Initial Code
-(NSString*)docsPath{
    return [[[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject] path];
}

Initial URL
http://yasirmturk.com

Initial Description
Use like this: [[self docsPath] stringByAppendingPathComponent:@"photo.png"]

Initial Title
iOS Application Documents Path

Initial Tags
iphone, ios

Initial Language
Objective C