URL (Swift)
E770630
URL (Swift) is a Foundation framework type that represents and manipulates Uniform Resource Locators in a type-safe, structured way within Swift applications.
Observed surface forms (1)
| Surface form | Occurrences |
|---|---|
| NSURL | 1 |
Statements (71)
| Predicate | Object |
|---|---|
| instanceOf |
Foundation type
ⓘ
URL representation type ⓘ struct ⓘ |
| conformsTo |
Codable
ⓘ
CustomStringConvertible ⓘ Equatable ⓘ Hashable ⓘ Sendable ⓘ |
| definedIn | Foundation framework NERFINISHED ⓘ |
| hasInitializer |
init(dataRepresentation: Data:isAbsolute: Bool)
ⓘ
init(fileURLWithPath: String) ⓘ init(fileURLWithPath:isDirectory:) ⓘ init(fileURLWithPath:isDirectory:relativeTo:) ⓘ init(fileURLWithPathComponents: [String]) ⓘ init(resolvingAliasFileAt: URL) ⓘ init(resolvingBookmarkData: Data:options:relativeTo:bookmarkDataIsStale:) ⓘ init(string: String) ⓘ init?(string: String) ⓘ |
| hasMethod |
appendingPathComponent(_:)
ⓘ
appendingPathComponent(_:isDirectory:) ⓘ appendingPathExtension(_:) ⓘ bookmarkData(options:includingResourceValuesForKeys:relativeTo:) ⓘ checkResourceIsReachable() ⓘ deletingLastPathComponent() ⓘ deletingPathExtension() ⓘ resolvingSymlinksInPath() ⓘ resourceValues(forKeys:) ⓘ setResourceValues(_:) ⓘ standardized ⓘ standardizedFileURL ⓘ |
| hasProperty |
absoluteString
ⓘ
absoluteURL ⓘ baseURL ⓘ fragment ⓘ hasDirectoryPath ⓘ host ⓘ isFileURL ⓘ lastPathComponent ⓘ password ⓘ path ⓘ pathComponents ⓘ pathExtension ⓘ port ⓘ query ⓘ relativePath ⓘ relativeString ⓘ scheme ⓘ user ⓘ |
| hasStaticMethod |
fileURL(withPath:)
ⓘ
fileURL(withPath:isDirectory:) ⓘ resourceValues(forKeys:fromBookmarkData:) ⓘ |
| hasStaticProperty | fileURLWithPathSeparator ⓘ |
| language | Swift NERFINISHED ⓘ |
| module | Foundation NERFINISHED ⓘ |
| platform |
iOS
ⓘ
macOS ⓘ tvOS NERFINISHED ⓘ visionOS NERFINISHED ⓘ watchOS NERFINISHED ⓘ |
| represents | Uniform Resource Locator ⓘ |
| supports |
bookmark data
ⓘ
file reference URLs ⓘ relative URLs ⓘ security-scoped bookmarks ⓘ |
| usedFor |
file system paths
ⓘ
network resource addresses ⓘ representing resource locations ⓘ type-safe URL handling ⓘ |
| usedWith |
Data(contentsOf:)
ⓘ
FileManager ⓘ URLSession NERFINISHED ⓘ |
Referenced by (2)
Full triples — surface form annotated when it differs from this entity's canonical label.
this entity surface form:
NSURL