From 3504a12e6110ecf1ffa2613a88123e9d6a4b09f5 Mon Sep 17 00:00:00 2001 From: "Pfeil, Scott Robert" Date: Tue, 30 Oct 2018 17:02:35 -0400 Subject: [PATCH] add tracking to alert protocol --- MVMCore/MVMCore/AlertHandling/MVMCoreAlertDelegateProtocol.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MVMCore/MVMCore/AlertHandling/MVMCoreAlertDelegateProtocol.h b/MVMCore/MVMCore/AlertHandling/MVMCoreAlertDelegateProtocol.h index 2bd6a6b..f4f05e5 100644 --- a/MVMCore/MVMCore/AlertHandling/MVMCoreAlertDelegateProtocol.h +++ b/MVMCore/MVMCore/AlertHandling/MVMCoreAlertDelegateProtocol.h @@ -8,11 +8,15 @@ // Called for popup style alerts. #import +@class MVMCoreAlertObject; @protocol MVMCoreAlertDelegateProtocol @optional +// helps tracking alert state +- (nullable NSDictionary *)additionalAlertDataToTrackForAlertWithObject:(nullable MVMCoreAlertObject *)alertObject; + // All are performed on the main thread. - (void)alertShown:(nonnull UIAlertController *)alertController; - (void)alertCancelled:(nonnull UIAlertController *)alertController;