EMEmvBool

Objective-C

@protocol EMEmvBool <NSObject>

Swift

protocol EMEmvBool : NSObjectProtocol

Bool class providing method to create EMVQR primitive data type that represent BOOL values.

Since

5.0
  • creates an instance which conform to this protocol

    Declaration

    Objective-C

    + (instancetype)boolWithValue:(BOOL)aValue;

    Swift

    static func withValue(_ aValue: Bool) -> Self!

    Parameters

    aValue

    Bool value

    Return Value

    instancetype

  • The boolean data type has only two possible values: @{code YES} and @{code NO}.

    Declaration

    Objective-C

    @property (nonatomic) BOOL value;

    Swift

    var value: Bool { get set }