Extensions

The following extensions are available globally.

  • This extension provides methods for encoding and decoding strings using Punycode (RFC 3492) and IDNA encoding. It allows for the conversion of Substring instances to their Punycode and IDNA representations, facilitating the handling of internationalized domain names.

    See more

    Declaration

    Swift

    public extension Substring
  • This extension provides methods for encoding and decoding strings using Punycode (RFC 3492) and IDNA encoding. It allows for the conversion of String instances to their Punycode and IDNA representations, facilitating the handling of internationalized domain names.

    See more

    Declaration

    Swift

    public extension String