VouchrDialogViewProtocol
@protocol VouchrDialogViewProtocol
- (void)showOnParentViewController:(UIViewController *)parentViewController;
- (void)setTitle:(nullable NSString *)title;
- (void)setBodyText:(nullable NSString *)body;
- (void)setPositiveButtonText:(NSString *)buttonText withCompletionHandler:(nullable void (^)(void))completionHandler;
- (void)setNegativeButtonText:(NSString *)buttonText withCompletionHandler:(nullable void (^)(void))completionHandler;
- (void)setError:(nullable NSError *)error;
- (void)setView:(UIView *)view;
- (void)dismiss;
@end
Undocumented
-
Undocumented
Declaration
Objective-C
- (void)showOnParentViewController:(UIViewController *)parentViewController;Swift
func show(onParentViewController parentViewController: Any!) -
Undocumented
Declaration
Objective-C
- (void)setTitle:(nullable NSString *)title;Swift
func setTitle(_ title: Any!) -
Undocumented
Declaration
Objective-C
- (void)setBodyText:(nullable NSString *)body;Swift
func setBodyText(_ body: Any!) -
Undocumented
Declaration
Objective-C
- (void)setPositiveButtonText:(NSString *)buttonText withCompletionHandler:(nullable void (^)(void))completionHandler;Swift
func setPositiveButtonText(_ buttonText: Any!, withCompletionHandler completionHandler: (() -> Void)? = nil) -
Undocumented
Declaration
Objective-C
- (void)setNegativeButtonText:(NSString *)buttonText withCompletionHandler:(nullable void (^)(void))completionHandler;Swift
func setNegativeButtonText(_ buttonText: Any!, withCompletionHandler completionHandler: (() -> Void)? = nil) -
Undocumented
Declaration
Objective-C
- (void)setError:(nullable NSError *)error;Swift
func setError(_ error: Any!) -
Undocumented
Declaration
Objective-C
- (void)setView:(UIView *)view;Swift
func setView(_ view: Any!) -
Undocumented
Declaration
Objective-C
- (void)dismiss;Swift
func dismiss()
View on GitHub
VouchrDialogViewProtocol Protocol Reference