The NSFileManager class enables you to perform various generic file-system operations and insulates an application from the underlying file system.
I have an application with In-App Purchase, that when the user buy something, download one html file into the Documents …
ios iphone xcode webview nsfilemanagerI just want to create new folders in the documents folder of my iPhone app. Does anybody know how to …
iphone directory new-operator document nsfilemanagerIs there any way to browse the file system of a currently running or just killed iOS simulator? I'd settle …
iphone ios nsfilemanagerI'm looking for a better way to detect available/free disk space on the iPhone/iPad device programmatically. Currently I'm …
iphone ios ipad nsfilemanager diskspaceI am saving files in a document directory in swift 3 with this code: fileManager = FileManager.default // let documentDirectory = fileManager?.urls(…
ios swift nsfilemanager nsdocumentdirectoryI'm having some trouble with converting Objective-C code to create a directory for Swift. Objective-C: NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, …
ios objective-c swift nsfilemanager nsdocumentdirectoryI'm quite new to programming a Swift and I'm trying to iterate through the files in a folder. I took …
swift cocoa nsfilemanagerI have created a Temp directory to store some files: //MARK: -create save delete from directory func createTempDirectoryToStoreFile(){ var error: …
ios swift nsfilemanager nsdocumentdirectoryI'm using this method to copy a file: [fileManager copyItemAtPath:sourcePath toPath:targetPath error:&error]; I want to overwrite …
iphone ios ipad filesystems nsfilemanagerSuppose I have an arbitrary set of files included in the Main App Bundle. I would like to fetch the …
ios ios5 nsfilemanager nsbundle