CFURLCopyResourceSpecifier(_:)
Returns any additional resource specifiers after the path.
Declaration
func CFURLCopyResourceSpecifier(_ anURL: CFURL!) -> CFString!Parameters
- anURL:
The
CFURLobject 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
CFURLCanBeDecomposed(_:)CFURLCopyFileSystemPath(_:_:)CFURLCopyFragment(_:_:)CFURLCopyHostName(_:)CFURLCopyLastPathComponent(_:)CFURLCopyNetLocation(_:)CFURLCopyParameterString(_:_:)CFURLCopyPassword(_:)CFURLCopyPath(_:)CFURLCopyPathExtension(_:)CFURLCopyQueryString(_:_:)CFURLCopyScheme(_:)CFURLCopyStrictPath(_:_:)CFURLCopyUserName(_:)CFURLGetPortNumber(_:)