Contents

CFURLCopyResourceSpecifier(_:)

Returns any additional resource specifiers after the path.

Declaration

func CFURLCopyResourceSpecifier(_ anURL: CFURL!) -> CFString!

Parameters

  • anURL:

    The CFURL object to examine.

Return Value

The resource specifiers. Ownership follows the create rule. See The Create Rule.

Discussion

This function leaves any percent escape sequences intact. For decomposable URLs, this function returns everything after the path. For URLs that cannot be decomposed, this function returns everything except the scheme itself.

See Also

Accessing the Parts of a URL