RevealMode
enum RevealMode {}
RevealMode
represents the different modes the VoucherRevealViewController
can be in.
-
VoucherRevealViewController
is shown to the claimer.Declaration
Objective-C
RevealModeDefault
Swift
case `default` = 0
-
VoucherRevealViewController
is shown to the creator when they are previewing theirVoucher
.Declaration
Objective-C
RevealModePreview
Swift
case preview = 1
-
VoucherRevealViewController
is shown to a user who wants to contribute to theVoucher
.Declaration
Objective-C
RevealModeContribute
Swift
case contribute = 2
-
‘VoucherRevealViewController’ is shown to creator when they are viewing a previously sent ‘Voucher’.
Declaration
Objective-C
RevealModeSent
Swift
case sent = 3
-
‘VoucherRevealViewController’ is shown to recipient when they are viewing a previously received ‘Voucher’.
Declaration
Objective-C
RevealModeReceived
Swift
case received = 4