Extensions

The following extensions are available globally.

Bundle Extension

  • This extension adds a few simple accessors for some of the more common bundle items.

    See more

    Declaration

    Swift

    public extension Bundle

CGFloat Extension

  • This makes it easier to convert between Degrees and Radians.

    See more

    Declaration

    Swift

    public extension CGFloat

CGSize Extension

  • Adds calculations to the CGSize struct.

    See more

    Declaration

    Swift

    public extension CGSize

CGPoint Extension

Date Extension, To Compare With a 24-Hour “Granularity.”

  • Declaration

    Swift

    public extension Date
    extension Date: Strideable

StringProtocol Extension (Foundation-Required Computed Properties)

Double Extension

  • This makes it easier to convert between Degrees and Radians.

    See more

    Declaration

    Swift

    public extension Double

Float Extension

  • This makes it easier to convert between Degrees and Radians.

    See more

    Declaration

    Swift

    public extension Float

UInt64 Extension

  • This extension will add a new set of capabilities to the native UInt64 data type.

    See more

    Declaration

    Swift

    public extension UInt64

UInt Extension

  • This extension will add a new set of capabilities to the native UInt data type.

    See more

    Declaration

    Swift

    public extension UInt

Int Extension

  • Int

    This extension will add a new set of capabilities to the native Int data type.

    See more

    Declaration

    Swift

    public extension Int