Top "Nsfilemanager" questions

The NSFileManager class enables you to perform various generic file-system operations and insulates an application from the underlying file system.

Testing file existence using NSURL

Snow Leopard introduced many new methods to use NSURL objects to refer to files, not pathnames or Core Services' FSRefs. …

cocoa osx-snow-leopard nsurl core-foundation nsfilemanager
Storing images locally on an iOS device

Some iOS photo-related apps store images created with the app somewhere other than the photo library. For example Fat Booth …

ios objective-c uiimageview uiimage nsfilemanager
How to use iCloud to store and sync app files

I already have an iPhone App that stores data in a file in the local documents folder. Now I learnt …

objective-c cocoa-touch nsfilemanager icloud
Finding file's size

In my iPhone app I am using the following code to find a file's size. Even though the file exists, …

objective-c cocoa-touch ios nsfilemanager filesize
How can I calculate the size of a folder?

I'm creating a folder to cache images inside Documents with my iPhone App. I want to be able to keep …

ios iphone nsfilemanager
iOS: How do you find the creation date of a file?

I'm trying to find the creation date (NOT modification date) of a file. Creation date doesn't appear to be in …

ios file date nsfilemanager
How to check if a directory exists in Objective-C

I guess this is a beginner's problem, but I was trying to check if a directory exists in my Documents …

iphone objective-c cocoa-touch nsfilemanager
Get file path by file name from documents directory ios

In my application I download PDF files which gets stored in "Document" directory under different sub folders. Now I have …

ios objective-c nsfilemanager nsbundle
iPhone (iOS): copying files from main bundle to documents folder causes crash

I am trying to set up my application so that on first launch, a series of files located in the "…

iphone ios4 nsfilemanager
Is there a safer way to create a directory if it does not exist?

I've found this way of creating a directory if it does not exist. But it looks a bit wonky and …

ios objective-c filesystems nsfilemanager nsdocumentdirectory