The NSFileManager class enables you to perform various generic file-system operations and insulates an application from the underlying file system.
I am trying to copy some files across from my app bundle to the documents directory on first launch. I …
iphone nsfilemanagerI usually get paths by using NSBundle. But, NSBundle does not contain Documents folder. How to get All paths(or …
ios iphone xcode nsfilemanager nsbundleEDIT: SOLVED Thanks Brooks. Your question led me to keep digging into if the file even existed in my bundle …
iphone ios copy bundle nsfilemanagerIs there any way to find the parent directory of a path using NSFileManager or something? e.g. Take this: /…
objective-c cocoa path nsfilemanagerI'm trying to copy directories with copyItemAtPath, yet every time it fails with a "The operation couldn’t be completed. …
objective-c cocoa nsfilemanagerConsider the following two code samples: NSData *imgData = UIImagePNGRepresentation(imgFull); NSString *documentsDirectory = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0]; NSString *fullPath = [documentsDirectory …
iphone objective-c ios cocoa-touch nsfilemanagerI have an app with a number of images. I want to check if an image exists in the bundle. …
iphone objective-c xcode sdk nsfilemanagerI try to move a folder with a file to a temp folder, but I always receive the same error: …
objective-c ios nsfilemanager temporary-directoryI was wondering how to read a file from a specific location on ios. For example I'd quite like to …
objective-c ios load nsfilemanagerUsing URLConnection I am downloading a file from a url and storing that data to file in documents directory. When …
ios xcode4.2 nsfilemanager nsfilehandle