I want to quickly check to see if a file exists in my iPhone app\'s Documents directory (or any path for that matter). I can enumerate through the directory\'s files, or I
Swift v3:
let fileExists = FileManager.default.fileExists(atPath: somePath)
Thanks to Nikolay Suvandzhiev.
Objective-C (Original):
BOOL fileExists = [[NSFileManager defaultManager] fileExistsAtPath:somePath];