Instance Method

appendPathComponent(_:isDirectory:)

Appends a path component to the URL.

Declaration

mutating func appendPathComponent(_ pathComponent: String, isDirectory: Bool)

Parameters

pathComponent

The path component to add.

isDirectory

Use true if the resulting path is a directory.

See Also

Adding Path Components

func appendPathComponent(String)

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.