CFURLGetBaseURL(_:)
Returns the base URL of a given URL if it exists.
Declaration
func CFURLGetBaseURL(_ anURL: CFURL!) -> CFURL!Parameters
- anURL:
The
CFURLobject to examine.
Return Value
A CFURL object representing the base URL of anURL. Ownership follows the get rule. See The Get Rule.