Extensions

The following extensions are available globally.

StringProtocol Extension

  • These are a variety of cool String extensions that add some great extra cheese on the pizza. NOTE: These extensions feature some use of Apple’s built-in CommonCrypto utility.

    See more

    Declaration

    Swift

    public extension StringProtocol
    public extension StringProtocol where Index == String.Index
  • This is an extension to the String type that returns the String as an IP address.

    See more

    Declaration

    Swift

    public extension String
  • This extension provides the reverse of asXMLDuration.

    You can have an instance of DateComponents express itself as a legal, optimized xs:duration String.

    See more

    Declaration

    Swift

    public extension DateComponents