index all rss twitter github linkedin email

Álvaro Ramírez

06 May 2015 Write to temp iOS snippet

NSString *tempDir = NSTemporaryDirectory();
NSLog(@"%@\n", tempDir);
NSString *dataFilePath = [tempDir stringByAppendingPathComponent:@"my.file"];
[data writeToFile:dataFilePath atomically:YES];