diff --git a/MVMCore/MVMCore/Singletons/MVMCoreObject.h b/MVMCore/MVMCore/Singletons/MVMCoreObject.h index 1e4d9b0..438cad2 100644 --- a/MVMCore/MVMCore/Singletons/MVMCoreObject.h +++ b/MVMCore/MVMCore/Singletons/MVMCoreObject.h @@ -33,6 +33,9 @@ @property (nullable, weak, nonatomic) id loggingDelegate; @property (nullable, weak, nonatomic) id globalTopAlertDelegate; +// A reference to the calling application delegate that should be set. For a normal app, could be the UIApplicationDelegate. For watch, could be WKExtensionDelegate. For iMessage, could be MSMessagesAppViewController. etc, etc. Useful for the framework to call delegate specific functions. +@property (nullable, weak, nonatomic) id applicationDelegate; + // A singleton. + (nullable instancetype)sharedInstance;