Merge pull request #45 in BPHVB/mvm_core from feature/outside_world to develop

* commit '1326966e7a197b7427316471c2deca26e4744224':
  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 2019-01-14 15:57:10 -05:00
commit 634cceff73

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;