Structure
URLQueryItem
iOS 8.0+
iPadOS 8.0+
Mac Catalyst 8.0+
macOS 10.10+
tvOS 9.0+
watchOS 2.0+
A single name-value pair from the query portion of a URL.
struct URLQueryItem
Topics
Operators
Initializers
init(name: String, value: String?)Creates a new query item with the name and value you specify.
Instance Properties
var name: StringThe name of the query item.var value: String?The value for the query item.
Instance Methods
Default Implementations
Relationships
Conforms To
Swift.CopyableSwift.CustomDebugStringConvertibleSwift.CustomReflectableSwift.CustomStringConvertibleSwift.EquatableSwift.EscapableSwift.HashableSwift.SendableSwift.SendableMetatype