The NSFileManager class enables you to perform various generic file-system operations and insulates an application from the underlying file system.
I have a single file named a.caf in the documents directory. I would like to rename it when user …
nsfilemanagerI need to retrieve the URL of a resource contained in my Xcode project through a path that begins in …
swift nsurl nsfilemanager nsbundleI'm trying to create a folder inside the /sounds folder of my app. -(void)productPurchased:(UAProduct*) product { NSLog(@"[StoreFrontDelegate] …
iphone nsfilemanagerHow do you delete all the contents of a directory without deleting the directory itself? I want to basically empty …
cocoa directory osx-snow-leopard nsfilemanagerHow can I check if a file exists at a URL (instead of a path), in order to set a …
objective-c nsfilemanagerAs I need to read a file when my app is launched and write it sometimes while using it, I …
objective-c ios nsfilemanager read-writeI am trying to save data in the documents folder on iPhone 5.1 simulator. NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *…
iphone nsfilemanager nsdocumentdirectoryI am creating files with the following code NSString *docPath = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"]; NSString *filename = @"xyz123.data"; docPath = [NSString stringWithFormat:@"%@/%@", …
objective-c nsfilemanagerI am developing an iPhone photo application, so i need to create a separate album with a name "My Album" …
iphone ios camera nsfilemanagerI'm working on an app for jailbroken iPhones. I'm trying to get only the directories of an folder. so I'm …
iphone objective-c nsfilemanager