NSFileManager(GBFileManager) Category Reference
| Declared in | NSFileManager+GBFileManager.h NSFileManager+GBFileManager.m |
Overview
Extensions to NSFileManager.
Tasks
Other Methods
-
- isPathDirectory:Determines if the given path is a directory.
Other Methods
-
- isPathDirectory:Determines if the given path is a directory.
Instance Methods
isPathDirectory:
Determines if the given path is a directory.
- (BOOL)isPathDirectory:(NSString *)pathParameters
- path
- The path to test.
Return Value
Returns YES if the given path is a directory, NO otherwise.
Discussion
Determines if the given path is a directory.
The method returns YES if the given path exists and is a directory, NO otherwise. This makes directory checking one-line of code, however does not give information on whether the path exists or not! Use `
Declared In
NSFileManager+GBFileManager.h