<UgiUiDelegate> Protocol Reference

Overview

Delegate to return UI settings used in UI created by UgiUiUtil.

A delegate can optionally be provided by the application

Instance Methods

(UIView *_Nullable) - getViewControllerToShowUiOn
 Get the view to show UI on (such as alerts) More...
 
(void) - showViewController:
 Show a view controller. More...
 
(void) - hideViewController:
 Hide a view controller. More...
 

Properties

UIColor * uiThemeColor
 Get the color to use for buttons and styling.
 
UIColor * uiTextColorOnThemeColor
 Get the color to use when on top of the theme color.
 
NSString * uiFontName
 Get the font name to use for buttons.
 

Instance Method Documentation

- (UIView * _Nullable) getViewControllerToShowUiOn
optional

Get the view to show UI on (such as alerts)

Returns
UIView to show UI on
- (void) showViewController: (UIViewController *_Nonnull)  viewController
optional

Show a view controller.

Parameters
viewControllerView controller to show
- (void) hideViewController: (UIViewController *_Nonnull)  viewController
optional

Hide a view controller.

Parameters
viewControllerView controller to hide