iphone: how do I obtain a list of all files with a given extension on the app's document folder?
- by Mike
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…