VORevealMode
enum VORevealMode {}
VORevealMode
represents the different modes the VOVoucherRevealViewController
can be in.
-
VOVoucherRevealViewController
is shown to the claimer.Declaration
Objective-C
VORevealModeDefault
Swift
case `default` = 0
-
VOVoucherRevealViewController
is shown to the creator when they are previewing theirVOVoucher
.Declaration
Objective-C
VORevealModePreview
Swift
case preview = 1
-
VOVoucherRevealViewController
is shown to a user who wants to contribute to theVOVoucher
.Declaration
Objective-C
VORevealModeContribute
Swift
case contribute = 2
-
‘VOVoucherRevealViewController’ is shown to creator when they are viewing a previously sent ‘VOVoucher’.
Declaration
Objective-C
VORevealModeSent
Swift
case sent = 3
-
‘VOVoucherRevealViewController’ is shown to recipient when they are viewing a previously received ‘VOVoucher’.
Declaration
Objective-C
VORevealModeReceived
Swift
case received = 4