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:
parent
2bf04f354c
commit
597e518b34
@ -33,6 +33,9 @@
|
|||||||
@property (nullable, weak, nonatomic) id <MVMCoreLoggingDelegateProtocol> loggingDelegate;
|
@property (nullable, weak, nonatomic) id <MVMCoreLoggingDelegateProtocol> loggingDelegate;
|
||||||
@property (nullable, weak, nonatomic) id <MVMCoreGlobalTopAlertDelegateProtocol> globalTopAlertDelegate;
|
@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.
|
// A singleton.
|
||||||
+ (nullable instancetype)sharedInstance;
|
+ (nullable instancetype)sharedInstance;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user