Utilities

  • Atomic provides thread-safety to access a variable.

    See more

    Declaration

    Swift

    open class Atomic<T>
  • Box

    This is just a wrapper as a work around since there is no way to change a passed-in value in a block.

    See more

    Declaration

    Swift

    open class Box<T>
  • The helper wrapping up an HTTP basic authentication credential.

    See more

    Declaration

    Swift

    public struct HTTPAuthentication
  • Represents the port number of IP protocol.

    See more

    Declaration

    Swift

    public struct Port: CustomStringConvertible, Hashable, ExpressibleByIntegerLiteral