<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFURLEnumeratorResult",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@E@CFURLEnumeratorResult"
  },
  "title" : "CFURLEnumeratorResult"
}
-->

# CFURLEnumeratorResult

Result codes from the [`CFURLEnumeratorGetNextURL(_:_:_:)`](/documentation/CoreFoundation/CFURLEnumeratorGetNextURL(_:_:_:)) function.

```
enum CFURLEnumeratorResult
```

## Topics

### Constants

[`CFURLEnumeratorResult.success`](/documentation/CoreFoundation/CFURLEnumeratorResult/success)

The enumerator was advanced successfully and returned a valid URL.

[`CFURLEnumeratorResult.end`](/documentation/CoreFoundation/CFURLEnumeratorResult/end)

The enumeration is complete.

[`CFURLEnumeratorResult.error`](/documentation/CoreFoundation/CFURLEnumeratorResult/error)

An error occurred during enumeration. The `error` parameter of the function is populated with error information.

[`CFURLEnumeratorResult.directoryPostOrderSuccess`](/documentation/CoreFoundation/CFURLEnumeratorResult/directoryPostOrderSuccess)

The recursive post-order enumerator returned the URL for a directory after having returned the URLs for all of the directory’s descendents.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)