Declared in NSFileManager+GBFileManager.h
NSFileManager+GBFileManager.m

Overview

Extensions to NSFileManager.

Tasks

Other Methods

Other Methods

Instance Methods

isPathDirectory:

Determines if the given path is a directory.

- (BOOL)isPathDirectory:(NSString *)path

Parameters

path
The path to test.

Return Value

Returns YES if the given path is a directory, NO otherwise.

Discussion

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