move alert files
This commit is contained in:
parent
52e4f19911
commit
3b05bbf440
@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
@class MVMCoreErrorObject;
|
@class MVMCoreErrorObject;
|
||||||
@class MVMCoreRequestParameters;
|
@class MVMCoreRequestParameters;
|
||||||
@class MVMCoreAlertObject;
|
|
||||||
|
|
||||||
@protocol MVMCoreActionDelegateProtocol
|
@protocol MVMCoreActionDelegateProtocol
|
||||||
|
|
||||||
@ -31,12 +30,6 @@
|
|||||||
// Handles the linkaway action. Call the block to continue to linkaway.
|
// Handles the linkaway action. Call the block to continue to linkaway.
|
||||||
- (void)shouldLinkAwayWithURL:(nullable NSURL *)URL appURL:(nullable NSURL *)appURL actionInformation:(nullable NSDictionary *)actionInformation additionalData:(nullable NSDictionary *)additionalData linkAwayBlock:(nonnull void (^)(NSURL * _Nullable appURL, NSURL * _Nullable URL, NSDictionary * _Nullable actionInformation, NSDictionary * _Nullable additionalData))linkAwayBlock;
|
- (void)shouldLinkAwayWithURL:(nullable NSURL *)URL appURL:(nullable NSURL *)appURL actionInformation:(nullable NSDictionary *)actionInformation additionalData:(nullable NSDictionary *)additionalData linkAwayBlock:(nonnull void (^)(NSURL * _Nullable appURL, NSURL * _Nullable URL, NSDictionary * _Nullable actionInformation, NSDictionary * _Nullable additionalData))linkAwayBlock;
|
||||||
|
|
||||||
// Gives the delegate a chance to alter the alert object
|
|
||||||
- (void)willShowPopupWithAlertObject:(nonnull MVMCoreAlertObject *)alertObject alertJson:(nonnull NSDictionary *)alertJson;
|
|
||||||
|
|
||||||
// Gives the delegate a chance to alter the alert object
|
|
||||||
- (nullable MVMCoreAlertObject *)willShowTopAlertWithAlertObject:(nonnull MVMCoreAlertObject *)alertObject alertJson:(nonnull NSDictionary *)alertJson;
|
|
||||||
|
|
||||||
// Handle cancel
|
// Handle cancel
|
||||||
- (void)handleCancel:(nullable NSDictionary *)actionInformation additionalData:(nullable NSDictionary *)additionalData;
|
- (void)handleCancel:(nullable NSDictionary *)actionInformation additionalData:(nullable NSDictionary *)additionalData;
|
||||||
|
|
||||||
|
|||||||
@ -38,13 +38,6 @@
|
|||||||
* @return True if the calling process should continue. */
|
* @return True if the calling process should continue. */
|
||||||
- (BOOL)handleModuleError:(nonnull NSString *)module loadObject:(nonnull MVMCoreLoadObject *)loadObject error:(nonnull MVMCoreErrorObject *)error;
|
- (BOOL)handleModuleError:(nonnull NSString *)module loadObject:(nonnull MVMCoreLoadObject *)loadObject error:(nonnull MVMCoreErrorObject *)error;
|
||||||
|
|
||||||
/** Get the alert object whose data will be presented. Overwrite this to alter how you want the alert to show.
|
|
||||||
* @param loadObject The load object.
|
|
||||||
* @param errorObject An error object if there was an error.
|
|
||||||
* @return Returns the alert object.
|
|
||||||
* Details: Gets the alert that will display to the screen. Easier to subclass here to avoid subclassing the displaying logic. */
|
|
||||||
- (nullable MVMCoreAlertObject *)alertObjectToShow:(nonnull MVMCoreLoadObject *)loadObject error:(nullable MVMCoreErrorObject *)errorObject;
|
|
||||||
|
|
||||||
/** Allows the delegate to handle any field errors.
|
/** Allows the delegate to handle any field errors.
|
||||||
* @param fieldErrors The field errors.
|
* @param fieldErrors The field errors.
|
||||||
* @param loadObject The load object.*/
|
* @param loadObject The load object.*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user