Protocols

The following protocols are available globally.

  • Properties conforming to this protocol can use the == operator with numerical constants.

    Declaration

    Swift

    public protocol NumericalEquality : Property
  • Properties conforming to this protocol can use the == operator with other properties of the same type.

    Declaration

    Swift

    public protocol RelativeEquality : Property
  • Properties conforming to this protocol can use the <= and >= operators with numerical constants.

    Declaration

    Swift

    public protocol NumericalInequality : Property
  • Properties conforming to this protocol can use the <= and >= operators with other properties of the same type.

    Declaration

    Swift

    public protocol RelativeInequality : Property
  • Undocumented

    See more
  • Compound properties conforming to this protocol can use the == operator with other compound properties of the same type.

    Declaration

    Swift

    public protocol RelativeCompoundEquality : Compound
  • Compound properties conforming to this protocol can use the <= and >= operators with other compound properties of the same type.

    Declaration

    Swift

    public protocol RelativeCompoundInequality : Compound