UgiDefaultConfigurationUi Class Reference
Overview
Default implementation of UgiConfigurationDelegate.
May be subclassed by applications.
Instance Methods | |
(NSObject *_Nonnull) | - showOkCancel:message:okButtonTitle:cancelButtonTitle:withCompletion:withCancelCompletion: |
Show an alert with ok and cancel buttons More... | |
(NSObject *_Nonnull) | - showOk:message:okButtonTitle:withCompletion: |
Show an alert with an ok button More... | |
(void) | - hideAlert: |
Hide an alert More... | |
(void) | - updateAlert:withMessage: |
Update the message in an alert More... | |
(void) | - showWaiting:withCancelCompletion: |
Show "waiting" alert, call completion if cancelled More... | |
(void) | - showWaiting: |
Show "waiting" alert without cancel More... | |
(void) | - hideWaiting |
Hide "waiting" alert | |
(void) | - showViewController: |
Show a view controller More... | |
(void) | - hideViewController: |
Hide a view controller More... | |
Instance Method Documentation
◆ showOkCancel:message:okButtonTitle:cancelButtonTitle:withCompletion:withCancelCompletion:()
- (NSObject * _Nonnull) showOkCancel: | (NSString *_Nullable) | title | |
message: | (NSString *_Nullable) | message | |
okButtonTitle: | (NSString *_Nullable) | okButtonTitle | |
cancelButtonTitle: | (NSString *_Nullable) | cancelButtonTitle | |
withCompletion: | (nullable void(^)(void)) | completion | |
withCancelCompletion: | (nullable void(^)(void)) | cancelCompletion | |
Show an alert with ok and cancel buttons
- Parameters
-
title Title for the alert message Text for the body of the alert okButtonTitle Text for the "ok" button, or "" for the defualt, or nil for no ok button cancelButtonTitle Text for the "cancel" button, or "" for the defualt, or nil for no cancel button completion Block to execute for "ok" cancelCompletion Block to execute for "cancel"
- Returns
- The alert
◆ showOk:message:okButtonTitle:withCompletion:()
- (NSObject * _Nonnull) showOk: | (NSString *_Nullable) | title | |
message: | (NSString *_Nullable) | message | |
okButtonTitle: | (NSString *_Nullable) | okButtonTitle | |
withCompletion: | (nullable void(^)(void)) | completion | |
Show an alert with an ok button
- Parameters
-
title Title for the alert message Text for the body of the alert okButtonTitle Text for the "ok" button, or "" for the defualt, or nil for no ok button completion Block to execute for "ok"
- Returns
- The alert
◆ hideAlert:()
- (void) hideAlert: | (NSObject *_Nonnull) | alert |
Hide an alert
- Parameters
-
alert The alert to hide
◆ updateAlert:withMessage:()
- (void) updateAlert: | (NSObject *_Nonnull) | alert | |
withMessage: | (NSString *_Nullable) | message | |
Update the message in an alert
- Parameters
-
alert The alert to update message Text for the body of the alert
◆ showWaiting:withCancelCompletion:()
- (void) showWaiting: | (NSString *_Nonnull) | message | |
withCancelCompletion: | (nullable void(^)(void)) | cancelCompletion | |
Show "waiting" alert, call completion if cancelled
- Parameters
-
message Text for the body of the alert cancelCompletion Block to execute for "cancel" (or nil if cancel is not an option)
◆ showWaiting:()
- (void) showWaiting: | (NSString *_Nonnull) | message |
Show "waiting" alert without cancel
- Parameters
-
message Text for the body of the alert
◆ showViewController:()
- (void) showViewController: | (UIViewController *_Nonnull) | viewController |
Show a view controller
- Parameters
-
viewController View controller to show
◆ hideViewController:()
- (void) hideViewController: | (UIViewController *_Nonnull) | viewController |
Hide a view controller
- Parameters
-
viewController View controller to hide
Copyright © 2012-2017 U Grok It, Inc. connect@UGrokIt.com U Grok It and the U Grok It logo are registered trademarks of U Grok It, Inc. All other trademarks and copyrights are the property of their respective owners |