URL

public extension URL
  • Create a URL with a compile time constant string. You guarantee that the string can be transformed into a valid URL

    Declaration

    Swift

    init(staticString: StaticString)

    Parameters

    staticString

    the string which gets transformed into URL.