diff options
author | Justin Beharry <justin.beharry@livio.io> | 2022-08-08 14:57:14 -0400 |
---|---|---|
committer | Justin Beharry <justin.beharry@livio.io> | 2022-08-08 14:57:14 -0400 |
commit | 2561046c4088ab92d59a2298e946f76cabc65a73 (patch) | |
tree | fe8b5e4e57e1c18d02543f5ff3bf1a5ae9f2529d /Example Apps | |
parent | 4084464334f7cf2ee61f43d04fb97f422387a2d2 (diff) | |
download | sdl_ios-2561046c4088ab92d59a2298e946f76cabc65a73.tar.gz |
change andButton initializer to softButtons for remote control
Diffstat (limited to 'Example Apps')
-rw-r--r-- | Example Apps/Example ObjC/ProxyManager.m | 2 | ||||
-rw-r--r-- | Example Apps/Example ObjC/RemoteControlManager.h | 2 | ||||
-rw-r--r-- | Example Apps/Example ObjC/RemoteControlManager.m | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Example Apps/Example ObjC/ProxyManager.m b/Example Apps/Example ObjC/ProxyManager.m index 0c8db3b33..15c7ff283 100644 --- a/Example Apps/Example ObjC/ProxyManager.m +++ b/Example Apps/Example ObjC/ProxyManager.m @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN self.performManager = [[PerformInteractionManager alloc] initWithManager:self.sdlManager]; self.buttonManager = [[ButtonManager alloc] initWithManager:self.sdlManager refreshUIHandler:self.refreshUIHandler]; self.subscribeButtonManager = [[SubscribeButtonManager alloc] initWithManager:self.sdlManager]; - self.remoteControlManager = [[RemoteControlManager alloc] initWithManager:self.sdlManager andButtons:[self.buttonManager allScreenSoftButtons]]; + self.remoteControlManager = [[RemoteControlManager alloc] initWithManager:self.sdlManager softButtons:[self.buttonManager allScreenSoftButtons]]; [weakSelf sdlex_updateProxyState:ProxyStateConnected]; [RPCPermissionsManager setupPermissionsCallbacksWithManager:weakSelf.sdlManager]; diff --git a/Example Apps/Example ObjC/RemoteControlManager.h b/Example Apps/Example ObjC/RemoteControlManager.h index 382b19bcd..a81e0aea0 100644 --- a/Example Apps/Example ObjC/RemoteControlManager.h +++ b/Example Apps/Example ObjC/RemoteControlManager.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN @property (copy, nonatomic, readonly) NSString *climateDataString; - (instancetype)init NS_UNAVAILABLE; -- (instancetype)initWithManager:(SDLManager *)manager andButtons:(NSArray<SDLSoftButtonObject *> *)buttons; +- (instancetype)initWithManager:(SDLManager *)manager softButtons:(NSArray<SDLSoftButtonObject *> *)buttons; - (void)start; - (void)showClimateControl; diff --git a/Example Apps/Example ObjC/RemoteControlManager.m b/Example Apps/Example ObjC/RemoteControlManager.m index 212bb2cc7..0eb3a3cd1 100644 --- a/Example Apps/Example ObjC/RemoteControlManager.m +++ b/Example Apps/Example ObjC/RemoteControlManager.m @@ -26,7 +26,7 @@ @implementation RemoteControlManager -- (instancetype)initWithManager:(SDLManager *)manager andButtons:(NSArray<SDLSoftButtonObject *> *)buttons { +- (instancetype)initWithManager:(SDLManager *)manager softButtons:(NSArray<SDLSoftButtonObject *> *)buttons { self = [super init]; if (!self) { return nil; |