Contents

appendPathComponent(_:isDirectory:)

Appends a path component to the URL, specifying whether the resulting path is a directory.

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.

Discussion

New code should use append(path:directoryHint:) instead of this method.

See Also

Adding path components