creates a variable in the core to point to the creator of the framework. can be used by the framework for specifics.

This commit is contained in:
Pfeil, Scott Robert 2018-12-07 15:53:18 -05:00
parent 2bf04f354c
commit 597e518b34

View File

@ -33,6 +33,9 @@
@property (nullable, weak, nonatomic) id <MVMCoreLoggingDelegateProtocol> loggingDelegate;
@property (nullable, weak, nonatomic) id <MVMCoreGlobalTopAlertDelegateProtocol> 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;