nsfilemanager
NSFilemanager one directory back?
i want to know if there is a way to get the previous directory when working with NSFileManager... This can be probably done by appending \'..\' to the current directory[详细]
2023-01-16 12:25 分类:问答Xcode app version not compatible with Mac OS X version
am using Os X 10.6.4 and X code Version 3.2.3 for developing some simple app files and using PackageMaker to distribute these app files. But when trying to run the package on some other mac I am getti[详细]
2023-01-16 10:06 分类:问答NSFileManager fileExistsAtPath: & symbolic links
In my ~/Library/Caches/ directory, I have a symbolic link to my app\'s bundle, and some symbolic links to images (e.g. \"开发者_JAVA技巧big_picture.png\" is a symlink to \"small_picture.png\"). When I[详细]
2023-01-14 07:19 分类:问答removeItemAtPath dosn't work on the device
I\'v been struggling with this one for some time so any hint or suggestion are welcome. I\'m trying to delete a file from a directory under \"Documents\". The problem is that the file is not delete o[详细]
2023-01-14 04:50 分类:问答removeitematpath to remove Olddb.sqlite
I got this app that needs to be updated with a new database. I want to remove the old one and replace it with the new.[详细]
2023-01-13 13:09 分类:问答How to rename a file using NSFileManager
I have a single file named a.caf in the documents directory. I would like to rename it when user types into a UITextField and presses change (the text entered in the UIText开发者_如何学CField should b[详细]
2023-01-12 01:33 分类:问答iPhone : Unable to copy from MainBundle to NSDocumentDirectory
I am trying to copy a couple of image files from my MainBundle/SampleImages folder to the application NSDocumentDirectory/Library folder, but am unable to do so. I have checked that the images are in[详细]
2023-01-09 00:40 分类:问答In objective-c on iPhone, I am attempting to use the NSFileManager. I can't figure out what directory it starts out in
My question is, 开发者_Python百科what directory does the NSFileManager start out in, I am really confused because when I run code to tell me what directory I\'m in, it just outputs /. Also I can chang[详细]
2023-01-08 16:23 分类:问答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 \"Populator\" folder in the main bundle are copied into the documents directory.[详细]
2023-01-07 04:07 分类:问答iphone charset howto
i\'ve a class (downloaded from internet) that read a value of a file in this way (and after split the file):[详细]
2023-01-04 02:49 分类:问答