No overview available.
SDKs
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
No overview available.
SDKs
Framework
init?(string: String)
Initializes an NSURL object with a provided URL string.
init?(string: String, relative To: URL?)
Initializes an NSURL object with a base URL and a relative string.
class func file URL(with Path: String, is Directory: Bool) -> URL
Initializes and returns a newly created NSURL object as a file URL with a specified path.
init(file URLWith Path: String, is Directory: Bool)
Initializes a newly created NSURL referencing the local file or directory at path
.
class func file URL(with Path: String) -> URL
Initializes and returns a newly created NSURL object as a file URL with a specified path.
init(file URLWith Path: String)
Initializes a newly created NSURL referencing the local file or directory at path
.
class func file URL(with Path Components: [String]) -> URL?
Initializes and returns a newly created NSURL object as a file URL with specified path components.
init(resolving Alias File At: URL, options: NSURL .Bookmark Resolution Options)
Returns a new URL made by resolving the alias file at url
.
init(resolving Bookmark Data: Data, options: NSURL .Bookmark Resolution Options, relative To: URL?, bookmark Data Is Stale: Unsafe Mutable Pointer<Obj CBool>?)
Initializes a newly created NSURL that points to a location specified by resolving bookmark data.
class func file URL(with File System Representation: Unsafe Pointer<Int8>, is Directory: Bool, relative To: URL?) -> URL
Returns a new URL object initialized with a C string representing a local file system path.
func get File System Representation(Unsafe Mutable Pointer<Int8>, max Length: Int) -> Bool
Fills the provided buffer with a C string representing a local file system path.
init(file URLWith File System Representation: Unsafe Pointer<Int8>, is Directory: Bool, relative To: URL?)
Initializes a URL object with a C string representing a local file system path.