UrlConvertible
public protocol UrlConvertible
Any entity implementing this protocol declares that it is able to possibly represent itself as a url. The conversion to this url may fail, however.
-
Returns
selfas url if possible ornilotherwise.Declaration
Swift
var url: URL? { get }
View on GitHub
UrlConvertible Protocol Reference