Open ClassFoundation5.9.0
NSURLComponents
class NSURLComponents
Superclasses
class NSObject
The root class of most Foundation class hierarchies.
Citizens in Foundation
Conformances
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol NSCopying
The
NSCopying
protocol declares a method for providing functional copies of an object. The exact meaning of “copy” can vary from class to class, but a copy must be a functionally independent object with values identical to the original at the time the copy was made.protocol NSObjectProtocol
The
NSObjectProtocol
groups methods that are fundamental to all Foundation objects.
Members
init(
) init?(string: String
) init?(url: URL, resolvingAgainstBaseURL: Bool
) var fragment: String?
var hash: Int
var host: String?
var password: String?
var path: String?
var percentEncodedFragment: String?
var percentEncodedHost: String?
var percentEncodedPassword: String?
var percentEncodedPath: String?
var percentEncodedQuery: String?
var percentEncodedQueryItems: [URLQueryItem]?
var percentEncodedUser: String?
var port: NSNumber?
var query: String?
var queryItems: [URLQueryItem]?
var rangeOfFragment: NSRange
var rangeOfHost: NSRange
var rangeOfPassword: NSRange
var rangeOfPath: NSRange
var rangeOfPort: NSRange
var rangeOfQuery: NSRange
var rangeOfScheme: NSRange
var rangeOfUser: NSRange
var scheme: String?
var string: String?
var url: URL?
var user: String?
func copy(
) -> Any func copy(with: NSZone?
) -> Any func isEqual(Any
?) -> Bool func url(relativeTo: URL?
) -> URL?