Instance Method
appendPathComponent(_:isDirectory:)
iOS 8.0+Deprecated
iPadOS 8.0+Deprecated
Mac Catalyst 8.0+Deprecated
macOS 10.10+Deprecated
tvOS 9.0+Deprecated
visionOS 1.0+Deprecated
watchOS 2.0+Deprecated
Deprecated
Use append(path:directoryHint:) instead
Appends a path component to the URL.
mutating func appendPathComponent(_ pathComponent: String, isDirectory: Bool)
Parameters
pathComponentThe path component to add.
isDirectoryUse
trueif the resulting path is a directory.