I\'ve found this way of creating a directory if it does not exist. But it looks a bit wonky and I am afraid that this can go wrong in 1 of 1000 attempts.
I\'m looking for a way to make sure a string can be used as a file name under iOS. I\'m currently in the section of the code that deletes incompatible characters. I\'m wondering if I\'m doing it right
I have a /Documents/Images folder , in that folder are several other folders named after years , in those folders i have images.I want to delete everything from the images folder ( including the folde
i need to avoid hidden files in this enumeration, but .DS_Store files are still being added. i put in the NSLog to check, and i am getting output there.
I\'m trying to copy directories with copyItemAtPath, yet every time it fails with a \"The operation couldn’t be completed. File exists\" error.
I have afile in one of the folder in my documents folder .I want to create a copy of that file in some other folder with some other name.The code I am using is
I\'m looking for a better way to detect available/free disk space on the iPhone/iPad device programmatically.
I am trying to delete file from the document directory by use of commitEditingStyle method but I am facing following problem:
When using attributesOfItemAtPath:error:, is NSFileSystemFileNumber always guaranteed to be unique for the开发者_StackOverflow社区 device?
Hey guys, I am having a bit of a problem trying to save a user\'s Login (email) and password (chars/nums). These are both UITextFields of NSStrings.