EditVoucherContentsViewControllerProtocol
@protocol EditVoucherContentsViewControllerProtocol
EditVoucherContentsViewControllerProtocol is the interface for the EditVoucherContentsViewController. If a different edit view controller is used, it needs to implement this protocol.
-
Default initializer for
EditVoucherContentsViewController.Declaration
Objective-C
+ (instancetype) viewControllerWithVouchrTheme:(VouchrTheme *)vouchrTheme createManager:(VoucherCreationManager *)createManager screenType:(ScreenType)screenType delegate:(id<EditVoucherContentsViewControllerDelegate>) delegate;Swift
static func viewController(with vouchrTheme: VouchrTheme!, createManager: VoucherCreationManager!, screenType: Any!, delegate: EditVoucherContentsViewControllerDelegate!) -> Self!Parameters
vouchrTheme- Used to set up view controller according to pre-configured theme settings.
createManager- The manager responsible for handling the flow management in the creation process.
screenType- The type of screen to be presented, e.g. Edit Contents or Preview Contents.
delegate- The object responsible for implementing
EditVoucherContentsViewControllercallbacks. -
Undocumented
Declaration
Objective-C
- (void)setupWithCreationItems:(NSMutableArray<CreationItemImageView *> *)creationItems;Swift
func setup(withCreationItems creationItems: Any!)
View on GitHub
EditVoucherContentsViewControllerProtocol Protocol Reference