I am trying to get a list of the available fil开发者_高级运维es when from a server and be able to look at the names of the files that are available. I was looking at using the NSFileManager, but it do
Is there a way to get more details (size,date created,etc) about a specific item when using contentsOfDirectoryAtPath or a similar method?
I\'ve written some code to copy a file (dbtemplate.sqlite) from the application package to the library. However, no file shows up in the library and every time I start the application it logs the text
Can you find a bug in this l开发者_开发百科ine of code? It returns nil!! The app is completely sandboxed but Downloads folder access is enabled.
Oddest issue, thought I would see if anyone had run into this before. We have an iPad application that stores PDF files in the documents directory.All goes great, we can open the PDF\'s with CGPDFDoc
I working on a program that mana开发者_运维技巧ges documents. One of the things my app does, is download document from the internet and open them. This documents I download need to be opened with Read
I have been all over the web including Apple\'s dev site but I can\'t find any instruction on how to s开发者_运维技巧et an app\'s /Documents directory attribute NSFileProtectionKey = NSFileProtectionC
A common task I do consists reading a directory content using NSFileManager:co开发者_如何转开发ntentsOfDirectoryAtPath but enabling sandboxing in Lion this becomes impossible.
I am using NSFileManager to move items from one file path to another file path but it results in an exception.But i dont get exception every time, the exception is raised only after second or third ti
I have 2 directories which are created programmatically, say DIR1 & DIR2 and DIR1 have some XML files now I need to copy the contents of DIR! into DIR2 without 开发者_高级运维giving the Contents n