Instance Property

level

The number of levels deep the current object is in the directory hierarchy being enumerated.

Declaration

@property(readonly) NSUInteger level;

Discussion

The number of levels, with the directory passed to enumeratorAtURL:includingPropertiesForKeys:options:errorHandler: (NSFileManager) considered to be level 0.

See Also

Getting File and Directory Attributes

directoryAttributes

A dictionary with the attributes of the directory at which enumeration started.

fileAttributes

A dictionary with the attributes of the most recently returned file or subdirectory (as referenced by the pathname).