Extensions

The following extensions are available globally.

  • URL

    Declaration

    Swift

    struct URL : ReferenceConvertible, Equatable
  • Int

    Declaration

    Swift

    struct Int : FixedWidthInteger, SignedInteger
  • Declaration

    Swift

    struct UInt : FixedWidthInteger, UnsignedInteger
  • Declaration

    Swift

    struct Float
  • Declaration

    Swift

    struct Double
  • Declaration

    Swift

    struct String
  • Declaration

    Swift

    enum Optional<Wrapped> : ExpressibleByNilLiteral
  • Extension to make it easier to work with OperatingSystemVersion.

    This makes it so you can initialize one with an Int e.g.

    let v: OperatingSystemVersion = 11
    
    See more

    Declaration

    Swift

    struct OperatingSystemVersion