CmpTypes

Objective-C

NS_ENUM(int, CmpTypes) {
    CMP_EQ = 0,
    CMP_GT = 1,
    CMP_GE = 2,
    CMP_LT = 3,
    CMP_LE = 4,
    CMP_NE = 5
}

Swift

enum CmpTypes : Int32
  • Declaration

    Objective-C

    CMP_EQ = 0

    Swift

    case CMP_EQ = 0
  • Declaration

    Objective-C

    CMP_GT = 1

    Swift

    case CMP_GT = 1
  • Declaration

    Objective-C

    CMP_GE = 2

    Swift

    case CMP_GE = 2
  • Declaration

    Objective-C

    CMP_LT = 3

    Swift

    case CMP_LT = 3
  • Declaration

    Objective-C

    CMP_LE = 4

    Swift

    case CMP_LE = 4
  • Declaration

    Objective-C

    CMP_NE = 5

    Swift

    case CMP_NE = 5