Instance Method

appendingPathComponent(_:)

Returns a URL constructed by appending the given path component to self.

Declaration

func appendingPathComponent(_ pathComponent: String) -> URL

Parameters

pathComponent

The path component to add.

Discussion

See Also

Adding Path Components

func appendPathComponent(String)

Appends a path component to the URL.

func appendPathComponent(String, isDirectory: Bool)

Appends a path component to the URL.

func appendingPathComponent(String, isDirectory: Bool) -> URL

Returns a URL constructed by appending the given path component to self.