URL
public extension URL
Extensions to make adding query items easier
-
Helper to append a String as a query param to a URL
Declaration
Swift
mutating func appendQueryItem(name: String, value: String?)
-
Helper to append a Int as a query param to a URL
Declaration
Swift
mutating func appendQueryItem(name: String, value: Int)
-
Declaration
Swift
func absoluteStringByTrimmingQuery() -> String?