String
extension String: URLConvertible
-
Returns a
URLifselfcan be used to initialize aURLinstance, otherwise throws.Throws
AnAFError.invalidURLinstance.Declaration
Swift
public func asURL() throws -> URLReturn Value
The
URLinitialized withself.
View on GitHub
Install in Dash