CFURLEnumeratorGetNextURL(_:_:_:)
Advances an enumerator to the next URL.
Declaration
func CFURLEnumeratorGetNextURL(_ enumerator: CFURLEnumerator!, _ url: UnsafeMutablePointer<Unmanaged<CFURL>?>!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> CFURLEnumeratorResultParameters
Return Value
The result of advancing the enumerator.
Discussion
If this function returns CFURLEnumeratorResult.end, the enumeration has finished.
A return value of CFURLEnumeratorResult.error does not imply that the enumeration has finished.
If this function returns CFURLEnumeratorResult.error, the user info dictionary of error is populated with the following entries (when possible):
The kCFErrorUnderlyingErrorKey entry is populated with the underlying error if the underlying error is not in the kCFErrorDomainCocoa domain.
The NSURLErrorKey entry is populated with the URL that caused the error, as a CFURL object.
The NSFilePathErrorKey entry is populated with the file path that caused the error, as a CFString object.
See Also
Related Documentation
Functions
CFAllocatorAllocateBytes(_:_:_:)CFAllocatorAllocateTyped(_:_:_:_:)CFAllocatorReallocateBytes(_:_:_:_:)CFAllocatorReallocateTyped(_:_:_:_:_:)CFAttributedStringGetBidiLevelsAndResolvedDirections(_:_:_:_:_:)CFBundleCopyLocalizedStringForLocalizations(_:_:_:_:_:)CFBundleIsArchitectureLoadable(_:)CFBundleIsExecutableLoadable(_:)CFBundleIsExecutableLoadableForURL(_:)CFCopyHomeDirectoryURL()CFDateFormatterCreateISO8601Formatter(_:_:)CFFileSecurityClearProperties(_:_:)CFFileSecurityCopyAccessControlList(_:_:)CFFileSecurityCopyGroupUUID(_:_:)CFFileSecurityCopyOwnerUUID(_:_:)