URL

extension URL
  • Initialises a new URL from a static string. Panics if the URL in the static string is invalid.

    Declaration

    Swift

    public init(_ string: StaticString)