init(string:)
Creates a URL components instance from a URL string.
Declaration
init?(string: String)Parameters
- string:
A URL location.
Discussion
If string represents a malformed URL, this initializer returns nil.
Creates a URL components instance from a URL string.
init?(string: String)A URL location.
If string represents a malformed URL, this initializer returns nil.