Instance Method

appendPathComponent(_:)

Appends a path component to the URL.

Declaration

mutating func appendPathComponent(_ pathComponent: String)

Parameters

pathComponent

The path component to add.

Discussion

See Also

Adding Path Components

func appendPathComponent(String, isDirectory: Bool)

Appends a path component to the URL.

func appendingPathComponent(String) -> URL

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

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

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