descendRecursively
The enumerator recurses into each subdirectory enumerated.
Declaration
static var descendRecursively: CFURLEnumeratorOptions { get }Discussion
This option applies only to directory enumerators.
You can enumerate the directories that a recursive enumerator encounters in pre-order fashion, post-order fashion, or both, by providing a combination of the includeDirectoriesPreOrder and includeDirectoriesPostOrder options. If you provide neither option, the recursive enumerator behaves as if it was provided the includeDirectoriesPreOrder option.