I have saved all my files using something like this
NSString *fileName = [NSString stringWithFormat:@"%@.plist", myName];
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
NSString *appFile = [documentsDirectory stringByAppendingPathComponent:fileName];
[myDict writeToFile:appFile atomically:YES])
//where myDic is a dictionary containing the value of all parameters I would like to save.
All these files were saved with the .plist extension. The same directory contains several JPG and PNG files.
Now, how do I retrieve the list of all .plist files on that directory?
thanks for any help.