You obtain a directory enumerator using NSFileManager’s enumeratorAtPath: method. The enumeration provides the pathnames of all files and directories contained within that directory. These pathnames are relative to the directory.
An enumeration is recursive, including the files of all subdirectories, and crosses device boundaries. An enumeration does not resolve symbolic links, or attempt to traverse symbolic links that point to directories.