From 145c00227f2bc25e9d850f5293c999abe700c8e4 Mon Sep 17 00:00:00 2001 From: irov Date: Sun, 27 Aug 2023 22:09:50 +0300 Subject: [PATCH] rename UIPluginApplicationDelegateInterface --- src/Environment/iOS/CMakeLists.txt | 2 +- src/Environment/iOS/UIMainApplicationDelegateInterface.h | 4 ++-- ...gateInterface.h => UIPluginApplicationDelegateInterface.h} | 2 +- src/Environment/iOS/iOSDetail.h | 2 +- src/Environment/iOS/iOSDetail.mm | 4 ++-- .../AppleAdjustPlugin/AppleAdjustApplicationDelegate.h | 4 ++-- .../AppleAdjustPlugin/AppleAdjustApplicationDelegate.mm | 2 +- .../AppleDevToDevPlugin/AppleDevToDevApplicationDelegate.h | 4 ++-- .../AppleDevToDevPlugin/AppleDevToDevApplicationDelegate.mm | 2 +- .../AppleFacebookPlugin/AppleFacebookApplicationDelegate.h | 4 ++-- .../AppleFacebookPlugin/AppleFacebookApplicationDelegate.mm | 2 +- .../AppleFirebaseMessagingApplicationDelegate.h | 4 ++-- .../AppleFirebasePlugin/AppleFirebaseApplicationDelegate.h | 4 ++-- .../AppleFirebasePlugin/AppleFirebaseApplicationDelegate.mm | 2 +- .../AppleFirebaseRemoteConfigApplicationDelegate.h | 4 ++-- .../AppleFirebaseRemoteConfigApplicationDelegate.mm | 2 +- .../AppleGeneralDataProtectionRegulationApplicationDelegate.h | 4 ++-- ...AppleGeneralDataProtectionRegulationApplicationDelegate.mm | 2 +- .../AppleMARSDKPlugin/AppleMARSDKApplicationDelegate.h | 4 ++-- .../AppleMARSDKPlugin/AppleMARSDKApplicationDelegate.mm | 2 +- .../AppleOneSignalPlugin/AppleOneSignalApplicationDelegate.h | 4 ++-- .../AppleOneSignalPlugin/AppleOneSignalApplicationDelegate.mm | 2 +- .../AppleSKAdNetworkApplicationDelegate.h | 4 ++-- .../AppleSentryPlugin/AppleSentryApplicationDelegate.h | 4 ++-- .../AppleSentryPlugin/AppleSentryApplicationDelegate.mm | 2 +- .../AppleStoreInAppPurchaseApplicationDelegate.h | 4 ++-- .../AppleStoreInAppPurchaseApplicationDelegate.mm | 2 +- .../AppleUserNotificationCenterApplicationDelegate.h | 4 ++-- src/SDLApplication/SDLUIApplicationDelegate.h | 2 +- src/SDLApplication/SDLUIApplicationDelegate.mm | 2 +- 30 files changed, 45 insertions(+), 45 deletions(-) rename src/Environment/iOS/{UIProxyApplicationDelegateInterface.h => UIPluginApplicationDelegateInterface.h} (94%) diff --git a/src/Environment/iOS/CMakeLists.txt b/src/Environment/iOS/CMakeLists.txt index 894f5ea5ab..45a614cb7c 100644 --- a/src/Environment/iOS/CMakeLists.txt +++ b/src/Environment/iOS/CMakeLists.txt @@ -9,7 +9,7 @@ src iOSDetail.mm UIMainApplicationDelegateInterface.h - UIProxyApplicationDelegateInterface.h + UIPluginApplicationDelegateInterface.h ) ADD_MENGINE_LIBRARY(Environment) diff --git a/src/Environment/iOS/UIMainApplicationDelegateInterface.h b/src/Environment/iOS/UIMainApplicationDelegateInterface.h index 9919d5b3ab..a74aa851a4 100644 --- a/src/Environment/iOS/UIMainApplicationDelegateInterface.h +++ b/src/Environment/iOS/UIMainApplicationDelegateInterface.h @@ -1,12 +1,12 @@ #include "Config/Config.h" -#import "Environment/iOS/UIProxyApplicationDelegateInterface.h" +#import "Environment/iOS/UIPluginApplicationDelegateInterface.h" #import @protocol UIMainApplicationDelegateInterface -- (NSArray *)getPluginDelegates; +- (NSArray *)getPluginDelegates; - (void)notify:(NSString *)name args:(id)firstArg, ... NS_REQUIRES_NIL_TERMINATION; - (void)notify:(NSString *)name arrayArgs:(NSArray *)args; diff --git a/src/Environment/iOS/UIProxyApplicationDelegateInterface.h b/src/Environment/iOS/UIPluginApplicationDelegateInterface.h similarity index 94% rename from src/Environment/iOS/UIProxyApplicationDelegateInterface.h rename to src/Environment/iOS/UIPluginApplicationDelegateInterface.h index 84f14f246f..4be9cb680f 100644 --- a/src/Environment/iOS/UIProxyApplicationDelegateInterface.h +++ b/src/Environment/iOS/UIPluginApplicationDelegateInterface.h @@ -2,7 +2,7 @@ #import -@protocol UIProxyApplicationDelegateInterface +@protocol UIPluginApplicationDelegateInterface #pragma mark - UIApplicationDelegate Protocol diff --git a/src/Environment/iOS/iOSDetail.h b/src/Environment/iOS/iOSDetail.h index 0b71fe728b..a5baf61168 100644 --- a/src/Environment/iOS/iOSDetail.h +++ b/src/Environment/iOS/iOSDetail.h @@ -2,7 +2,7 @@ #include "Config/Config.h" -#import "Environment/iOS/UIProxyApplicationDelegateInterface.h" +#import "Environment/iOS/UIPluginApplicationDelegateInterface.h" #import #import diff --git a/src/Environment/iOS/iOSDetail.mm b/src/Environment/iOS/iOSDetail.mm index e8cb9ce1f4..0639723b4a 100644 --- a/src/Environment/iOS/iOSDetail.mm +++ b/src/Environment/iOS/iOSDetail.mm @@ -29,9 +29,9 @@ id iOSGetUIProxyApplicationDelegate( Class delegateClass ) { NSObject * delegate = (NSObject *)[[UIApplication sharedApplication] delegate]; - NSArray * pluginDelegates = [delegate getPluginDelegates]; + NSArray * pluginDelegates = [delegate getPluginDelegates]; - for( NSObject * delegate : pluginDelegates ) { + for( NSObject * delegate : pluginDelegates ) { if( [delegate isMemberOfClass:delegateClass] == YES ) { return delegate; } diff --git a/src/Plugins/AppleAdjustPlugin/AppleAdjustApplicationDelegate.h b/src/Plugins/AppleAdjustPlugin/AppleAdjustApplicationDelegate.h index aec0df356a..2fcd38eacc 100644 --- a/src/Plugins/AppleAdjustPlugin/AppleAdjustApplicationDelegate.h +++ b/src/Plugins/AppleAdjustPlugin/AppleAdjustApplicationDelegate.h @@ -1,7 +1,7 @@ -#import "Environment/iOS/UIProxyApplicationDelegateInterface.h" +#import "Environment/iOS/UIPluginApplicationDelegateInterface.h" #import -@interface AppleAdjustApplicationDelegate : NSObject +@interface AppleAdjustApplicationDelegate : NSObject @end diff --git a/src/Plugins/AppleAdjustPlugin/AppleAdjustApplicationDelegate.mm b/src/Plugins/AppleAdjustPlugin/AppleAdjustApplicationDelegate.mm index bd6a3fb1ad..930a9e7ec4 100644 --- a/src/Plugins/AppleAdjustPlugin/AppleAdjustApplicationDelegate.mm +++ b/src/Plugins/AppleAdjustPlugin/AppleAdjustApplicationDelegate.mm @@ -4,7 +4,7 @@ @implementation AppleAdjustApplicationDelegate -#pragma mark - UIProxyApplicationDelegateInterface +#pragma mark - UIPluginApplicationDelegateInterface - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { if (Mengine::Helper::iOSHasBundlePluginConfig(@"MengineAppleAdjustPlugin") == NO) { diff --git a/src/Plugins/AppleDevToDevPlugin/AppleDevToDevApplicationDelegate.h b/src/Plugins/AppleDevToDevPlugin/AppleDevToDevApplicationDelegate.h index 39a69d9c5b..65fa910ecf 100644 --- a/src/Plugins/AppleDevToDevPlugin/AppleDevToDevApplicationDelegate.h +++ b/src/Plugins/AppleDevToDevPlugin/AppleDevToDevApplicationDelegate.h @@ -1,5 +1,5 @@ -#import "Environment/iOS/UIProxyApplicationDelegateInterface.h" +#import "Environment/iOS/UIPluginApplicationDelegateInterface.h" -@interface AppleDevToDevApplicationDelegate : NSObject +@interface AppleDevToDevApplicationDelegate : NSObject @end diff --git a/src/Plugins/AppleDevToDevPlugin/AppleDevToDevApplicationDelegate.mm b/src/Plugins/AppleDevToDevPlugin/AppleDevToDevApplicationDelegate.mm index c582a5e50a..35752300ce 100644 --- a/src/Plugins/AppleDevToDevPlugin/AppleDevToDevApplicationDelegate.mm +++ b/src/Plugins/AppleDevToDevPlugin/AppleDevToDevApplicationDelegate.mm @@ -6,7 +6,7 @@ @implementation AppleDevToDevApplicationDelegate -#pragma mark - UIProxyApplicationDelegateInterface +#pragma mark - UIPluginApplicationDelegateInterface - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { if (Mengine::Helper::iOSHasBundlePluginConfig(@"MengineAppleDevToDevPlugin") == NO) { diff --git a/src/Plugins/AppleFacebookPlugin/AppleFacebookApplicationDelegate.h b/src/Plugins/AppleFacebookPlugin/AppleFacebookApplicationDelegate.h index a8ae43facb..37947a44f4 100644 --- a/src/Plugins/AppleFacebookPlugin/AppleFacebookApplicationDelegate.h +++ b/src/Plugins/AppleFacebookPlugin/AppleFacebookApplicationDelegate.h @@ -1,5 +1,5 @@ -#import "Environment/iOS/UIProxyApplicationDelegateInterface.h" +#import "Environment/iOS/UIPluginApplicationDelegateInterface.h" -@interface AppleFacebookApplicationDelegate : NSObject +@interface AppleFacebookApplicationDelegate : NSObject @end diff --git a/src/Plugins/AppleFacebookPlugin/AppleFacebookApplicationDelegate.mm b/src/Plugins/AppleFacebookPlugin/AppleFacebookApplicationDelegate.mm index 6244dee05e..19217d3ebd 100644 --- a/src/Plugins/AppleFacebookPlugin/AppleFacebookApplicationDelegate.mm +++ b/src/Plugins/AppleFacebookPlugin/AppleFacebookApplicationDelegate.mm @@ -6,7 +6,7 @@ @implementation AppleFacebookApplicationDelegate -#pragma mark - UIProxyApplicationDelegateInterface +#pragma mark - UIPluginApplicationDelegateInterface - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [FBSDKApplicationDelegate.sharedInstance application:application didFinishLaunchingWithOptions:launchOptions]; diff --git a/src/Plugins/AppleFirebaseMessagingPlugin/AppleFirebaseMessagingApplicationDelegate.h b/src/Plugins/AppleFirebaseMessagingPlugin/AppleFirebaseMessagingApplicationDelegate.h index 3fa9117bb5..31de9b0cf2 100644 --- a/src/Plugins/AppleFirebaseMessagingPlugin/AppleFirebaseMessagingApplicationDelegate.h +++ b/src/Plugins/AppleFirebaseMessagingPlugin/AppleFirebaseMessagingApplicationDelegate.h @@ -1,7 +1,7 @@ -#import "Environment/iOS/UIProxyApplicationDelegateInterface.h" +#import "Environment/iOS/UIPluginApplicationDelegateInterface.h" #import -@interface AppleFirebaseMessagingApplicationDelegate : NSObject +@interface AppleFirebaseMessagingApplicationDelegate : NSObject @end diff --git a/src/Plugins/AppleFirebasePlugin/AppleFirebaseApplicationDelegate.h b/src/Plugins/AppleFirebasePlugin/AppleFirebaseApplicationDelegate.h index 7aa879427a..74f4448d83 100644 --- a/src/Plugins/AppleFirebasePlugin/AppleFirebaseApplicationDelegate.h +++ b/src/Plugins/AppleFirebasePlugin/AppleFirebaseApplicationDelegate.h @@ -1,5 +1,5 @@ -#import "Environment/iOS/UIProxyApplicationDelegateInterface.h" +#import "Environment/iOS/UIPluginApplicationDelegateInterface.h" -@interface AppleFirebaseApplicationDelegate : NSObject +@interface AppleFirebaseApplicationDelegate : NSObject @end diff --git a/src/Plugins/AppleFirebasePlugin/AppleFirebaseApplicationDelegate.mm b/src/Plugins/AppleFirebasePlugin/AppleFirebaseApplicationDelegate.mm index b0f95b3c9d..e7e2aaec8d 100644 --- a/src/Plugins/AppleFirebasePlugin/AppleFirebaseApplicationDelegate.mm +++ b/src/Plugins/AppleFirebasePlugin/AppleFirebaseApplicationDelegate.mm @@ -4,7 +4,7 @@ @implementation AppleFirebaseApplicationDelegate -#pragma mark - UIProxyApplicationDelegateInterface +#pragma mark - UIPluginApplicationDelegateInterface - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { @try { diff --git a/src/Plugins/AppleFirebaseRemoteConfigPlugin/AppleFirebaseRemoteConfigApplicationDelegate.h b/src/Plugins/AppleFirebaseRemoteConfigPlugin/AppleFirebaseRemoteConfigApplicationDelegate.h index b02abb159c..f8f832c405 100644 --- a/src/Plugins/AppleFirebaseRemoteConfigPlugin/AppleFirebaseRemoteConfigApplicationDelegate.h +++ b/src/Plugins/AppleFirebaseRemoteConfigPlugin/AppleFirebaseRemoteConfigApplicationDelegate.h @@ -1,5 +1,5 @@ -#import "Environment/iOS/UIProxyApplicationDelegateInterface.h" +#import "Environment/iOS/UIPluginApplicationDelegateInterface.h" -@interface AppleFirebaseRemoteConfigApplicationDelegate : NSObject +@interface AppleFirebaseRemoteConfigApplicationDelegate : NSObject @end diff --git a/src/Plugins/AppleFirebaseRemoteConfigPlugin/AppleFirebaseRemoteConfigApplicationDelegate.mm b/src/Plugins/AppleFirebaseRemoteConfigPlugin/AppleFirebaseRemoteConfigApplicationDelegate.mm index 47a6bd7201..a003324915 100644 --- a/src/Plugins/AppleFirebaseRemoteConfigPlugin/AppleFirebaseRemoteConfigApplicationDelegate.mm +++ b/src/Plugins/AppleFirebaseRemoteConfigPlugin/AppleFirebaseRemoteConfigApplicationDelegate.mm @@ -9,7 +9,7 @@ @implementation AppleFirebaseRemoteConfigApplicationDelegate -#pragma mark - UIProxyApplicationDelegateInterface +#pragma mark - UIPluginApplicationDelegateInterface - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { FIRRemoteConfigSettings *remoteConfigSettings = [[FIRRemoteConfigSettings alloc] init]; diff --git a/src/Plugins/AppleGeneralDataProtectionRegulationPlugin/AppleGeneralDataProtectionRegulationApplicationDelegate.h b/src/Plugins/AppleGeneralDataProtectionRegulationPlugin/AppleGeneralDataProtectionRegulationApplicationDelegate.h index 406852d1bf..f2f3759df0 100644 --- a/src/Plugins/AppleGeneralDataProtectionRegulationPlugin/AppleGeneralDataProtectionRegulationApplicationDelegate.h +++ b/src/Plugins/AppleGeneralDataProtectionRegulationPlugin/AppleGeneralDataProtectionRegulationApplicationDelegate.h @@ -1,6 +1,6 @@ -#import "Environment/iOS/UIProxyApplicationDelegateInterface.h" +#import "Environment/iOS/UIPluginApplicationDelegateInterface.h" -@interface AppleGeneralDataProtectionRegulationApplicationDelegate : NSObject +@interface AppleGeneralDataProtectionRegulationApplicationDelegate : NSObject - (void) setGDPRPass:(BOOL) passGDPR; - (BOOL) isGDPRPass; diff --git a/src/Plugins/AppleGeneralDataProtectionRegulationPlugin/AppleGeneralDataProtectionRegulationApplicationDelegate.mm b/src/Plugins/AppleGeneralDataProtectionRegulationPlugin/AppleGeneralDataProtectionRegulationApplicationDelegate.mm index b4485a3fc8..c2cc788436 100644 --- a/src/Plugins/AppleGeneralDataProtectionRegulationPlugin/AppleGeneralDataProtectionRegulationApplicationDelegate.mm +++ b/src/Plugins/AppleGeneralDataProtectionRegulationPlugin/AppleGeneralDataProtectionRegulationApplicationDelegate.mm @@ -17,7 +17,7 @@ - (BOOL)isGDPRPass { return passGDPR; } -#pragma mark - UIProxyApplicationDelegateInterface +#pragma mark - UIPluginApplicationDelegateInterface - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { bool passGDPR = Mengine::Helper::AppleGetUserDefaultsBoolean( "mengine.gdpr.pass", false ); diff --git a/src/Plugins/AppleMARSDKPlugin/AppleMARSDKApplicationDelegate.h b/src/Plugins/AppleMARSDKPlugin/AppleMARSDKApplicationDelegate.h index a5c83c53cb..926d96017a 100644 --- a/src/Plugins/AppleMARSDKPlugin/AppleMARSDKApplicationDelegate.h +++ b/src/Plugins/AppleMARSDKPlugin/AppleMARSDKApplicationDelegate.h @@ -1,5 +1,5 @@ -#import "Environment/iOS/UIProxyApplicationDelegateInterface.h" +#import "Environment/iOS/UIPluginApplicationDelegateInterface.h" -@interface AppleMARSDKApplicationDelegate : NSObject +@interface AppleMARSDKApplicationDelegate : NSObject @end diff --git a/src/Plugins/AppleMARSDKPlugin/AppleMARSDKApplicationDelegate.mm b/src/Plugins/AppleMARSDKPlugin/AppleMARSDKApplicationDelegate.mm index 0777052bbb..4f28d32d42 100644 --- a/src/Plugins/AppleMARSDKPlugin/AppleMARSDKApplicationDelegate.mm +++ b/src/Plugins/AppleMARSDKPlugin/AppleMARSDKApplicationDelegate.mm @@ -6,7 +6,7 @@ @implementation AppleMARSDKApplicationDelegate -#pragma mark - UIProxyApplicationDelegateInterface +#pragma mark - UIPluginApplicationDelegateInterface - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [[MARSDK sharedInstance] application:application didFinishLaunchingWithOptions:launchOptions]; diff --git a/src/Plugins/AppleOneSignalPlugin/AppleOneSignalApplicationDelegate.h b/src/Plugins/AppleOneSignalPlugin/AppleOneSignalApplicationDelegate.h index d64381ca37..05ccce3bca 100644 --- a/src/Plugins/AppleOneSignalPlugin/AppleOneSignalApplicationDelegate.h +++ b/src/Plugins/AppleOneSignalPlugin/AppleOneSignalApplicationDelegate.h @@ -1,5 +1,5 @@ -#import "Environment/iOS/UIProxyApplicationDelegateInterface.h" +#import "Environment/iOS/UIPluginApplicationDelegateInterface.h" -@interface AppleOneSignalApplicationDelegate : NSObject +@interface AppleOneSignalApplicationDelegate : NSObject @end diff --git a/src/Plugins/AppleOneSignalPlugin/AppleOneSignalApplicationDelegate.mm b/src/Plugins/AppleOneSignalPlugin/AppleOneSignalApplicationDelegate.mm index 0ef8e9c586..d4d14336e5 100644 --- a/src/Plugins/AppleOneSignalPlugin/AppleOneSignalApplicationDelegate.mm +++ b/src/Plugins/AppleOneSignalPlugin/AppleOneSignalApplicationDelegate.mm @@ -6,7 +6,7 @@ @implementation AppleOneSignalApplicationDelegate -#pragma mark - UIProxyApplicationDelegateInterface +#pragma mark - UIPluginApplicationDelegateInterface - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { if (Mengine::Helper::iOSHasBundlePluginConfig(@"MengineAppleOneSignalPlugin") == NO) { diff --git a/src/Plugins/AppleSKAdNetworkPlugin/AppleSKAdNetworkApplicationDelegate.h b/src/Plugins/AppleSKAdNetworkPlugin/AppleSKAdNetworkApplicationDelegate.h index 11b99a3f98..68f6388489 100644 --- a/src/Plugins/AppleSKAdNetworkPlugin/AppleSKAdNetworkApplicationDelegate.h +++ b/src/Plugins/AppleSKAdNetworkPlugin/AppleSKAdNetworkApplicationDelegate.h @@ -1,5 +1,5 @@ -#import "Environment/iOS/UIProxyApplicationDelegateInterface.h" +#import "Environment/iOS/UIPluginApplicationDelegateInterface.h" -@interface AppleSKAdNetworkApplicationDelegate : NSObject +@interface AppleSKAdNetworkApplicationDelegate : NSObject @end diff --git a/src/Plugins/AppleSentryPlugin/AppleSentryApplicationDelegate.h b/src/Plugins/AppleSentryPlugin/AppleSentryApplicationDelegate.h index 9b8048e62c..eac1cf6685 100644 --- a/src/Plugins/AppleSentryPlugin/AppleSentryApplicationDelegate.h +++ b/src/Plugins/AppleSentryPlugin/AppleSentryApplicationDelegate.h @@ -1,6 +1,6 @@ -#import "Environment/iOS/UIProxyApplicationDelegateInterface.h" +#import "Environment/iOS/UIPluginApplicationDelegateInterface.h" -@interface AppleSentryApplicationDelegate : NSObject +@interface AppleSentryApplicationDelegate : NSObject @property (assign) BOOL m_sendAllow; diff --git a/src/Plugins/AppleSentryPlugin/AppleSentryApplicationDelegate.mm b/src/Plugins/AppleSentryPlugin/AppleSentryApplicationDelegate.mm index 27d899151d..dc2ea9d6e9 100644 --- a/src/Plugins/AppleSentryPlugin/AppleSentryApplicationDelegate.mm +++ b/src/Plugins/AppleSentryPlugin/AppleSentryApplicationDelegate.mm @@ -8,7 +8,7 @@ @implementation AppleSentryApplicationDelegate -#pragma mark - UIProxyApplicationDelegateInterface +#pragma mark - UIPluginApplicationDelegateInterface - (instancetype _Nonnull)init { self = [super init]; diff --git a/src/Plugins/AppleStoreInAppPurchasePlugin/AppleStoreInAppPurchaseApplicationDelegate.h b/src/Plugins/AppleStoreInAppPurchasePlugin/AppleStoreInAppPurchaseApplicationDelegate.h index b9cb122acd..cb4b24ae52 100644 --- a/src/Plugins/AppleStoreInAppPurchasePlugin/AppleStoreInAppPurchaseApplicationDelegate.h +++ b/src/Plugins/AppleStoreInAppPurchasePlugin/AppleStoreInAppPurchaseApplicationDelegate.h @@ -1,5 +1,5 @@ -#import "Environment/iOS/UIProxyApplicationDelegateInterface.h" +#import "Environment/iOS/UIPluginApplicationDelegateInterface.h" -@interface AppleStoreInAppPurchaseApplicationDelegate : NSObject +@interface AppleStoreInAppPurchaseApplicationDelegate : NSObject @end diff --git a/src/Plugins/AppleStoreInAppPurchasePlugin/AppleStoreInAppPurchaseApplicationDelegate.mm b/src/Plugins/AppleStoreInAppPurchasePlugin/AppleStoreInAppPurchaseApplicationDelegate.mm index 6504bd8013..9c658e2492 100644 --- a/src/Plugins/AppleStoreInAppPurchasePlugin/AppleStoreInAppPurchaseApplicationDelegate.mm +++ b/src/Plugins/AppleStoreInAppPurchasePlugin/AppleStoreInAppPurchaseApplicationDelegate.mm @@ -4,7 +4,7 @@ @implementation AppleStoreInAppPurchaseApplicationDelegate -#pragma mark - UIProxyApplicationDelegateInterface +#pragma mark - UIPluginApplicationDelegateInterface - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { AppleStoreInAppPurchasePaymentTransactionObserver * paymentTransactionObserver = [AppleStoreInAppPurchasePaymentTransactionObserver sharedInstance]; diff --git a/src/Plugins/AppleUserNotificationCenterPlugin/AppleUserNotificationCenterApplicationDelegate.h b/src/Plugins/AppleUserNotificationCenterPlugin/AppleUserNotificationCenterApplicationDelegate.h index 9872bce645..dd268d096e 100644 --- a/src/Plugins/AppleUserNotificationCenterPlugin/AppleUserNotificationCenterApplicationDelegate.h +++ b/src/Plugins/AppleUserNotificationCenterPlugin/AppleUserNotificationCenterApplicationDelegate.h @@ -1,7 +1,7 @@ -#import "Environment/iOS/UIProxyApplicationDelegateInterface.h" +#import "Environment/iOS/UIPluginApplicationDelegateInterface.h" #import -@interface AppleUserNotificationCenterApplicationDelegate : NSObject +@interface AppleUserNotificationCenterApplicationDelegate : NSObject @end diff --git a/src/SDLApplication/SDLUIApplicationDelegate.h b/src/SDLApplication/SDLUIApplicationDelegate.h index b53d32b94b..ee40e5e630 100644 --- a/src/SDLApplication/SDLUIApplicationDelegate.h +++ b/src/SDLApplication/SDLUIApplicationDelegate.h @@ -4,6 +4,6 @@ @interface SDLUIApplicationDelegate : NSObject -@property (nonatomic, strong) NSMutableArray * m_pluginDelegates; +@property (nonatomic, strong) NSMutableArray * m_pluginDelegates; @end diff --git a/src/SDLApplication/SDLUIApplicationDelegate.mm b/src/SDLApplication/SDLUIApplicationDelegate.mm index 3d90f7aee4..068ec5b332 100644 --- a/src/SDLApplication/SDLUIApplicationDelegate.mm +++ b/src/SDLApplication/SDLUIApplicationDelegate.mm @@ -39,7 +39,7 @@ - (void)dealloc { #pragma mark - UIMainApplicationDelegateInterface Protocol -- (NSArray *)getPluginDelegates { +- (NSArray *)getPluginDelegates { return self.m_pluginDelegates; }