Contents

CFURLGetBaseURL(_:)

Returns the base URL of a given URL if it exists.

Declaration

func CFURLGetBaseURL(_ anURL: CFURL!) -> CFURL!

Parameters

  • anURL:

    The CFURL object to examine.

Return Value

A CFURL object representing the base URL of anURL. Ownership follows the get rule. See The Get Rule.

See Also

Getting URL Properties