diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2019-05-14 09:16:12 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2019-05-14 09:16:12 -0400 |
commit | 0fc61791bce71e76fb8ff0b6b3f2ddfc124bb40e (patch) | |
tree | 9bdb62e1ee94fb91d013b69a4b11192a05b19dd4 /SmartDeviceLink/SDLPermissionItem.m | |
parent | 7b5666be83b6cad4f905285e5a17dbb0572286a3 (diff) | |
download | sdl_ios-0fc61791bce71e76fb8ff0b6b3f2ddfc124bb40e.tar.gz |
Deprecate RPC superclass initializers
* So that they won’t appear on every RPC initializer in autocomplete and confuse developers
Diffstat (limited to 'SmartDeviceLink/SDLPermissionItem.m')
-rw-r--r-- | SmartDeviceLink/SDLPermissionItem.m | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/SmartDeviceLink/SDLPermissionItem.m b/SmartDeviceLink/SDLPermissionItem.m index 462f7aaf3..501ad20f5 100644 --- a/SmartDeviceLink/SDLPermissionItem.m +++ b/SmartDeviceLink/SDLPermissionItem.m @@ -13,30 +13,30 @@ NS_ASSUME_NONNULL_BEGIN @implementation SDLPermissionItem - (void)setRpcName:(NSString *)rpcName { - [store sdl_setObject:rpcName forName:SDLRPCParameterNameRPCName]; + [self.store sdl_setObject:rpcName forName:SDLRPCParameterNameRPCName]; } - (NSString *)rpcName { NSError *error = nil; - return [store sdl_objectForName:SDLRPCParameterNameRPCName ofClass:NSString.class error:&error]; + return [self.store sdl_objectForName:SDLRPCParameterNameRPCName ofClass:NSString.class error:&error]; } - (void)setHmiPermissions:(SDLHMIPermissions *)hmiPermissions { - [store sdl_setObject:hmiPermissions forName:SDLRPCParameterNameHMIPermissions]; + [self.store sdl_setObject:hmiPermissions forName:SDLRPCParameterNameHMIPermissions]; } - (SDLHMIPermissions *)hmiPermissions { NSError *error = nil; - return [store sdl_objectForName:SDLRPCParameterNameHMIPermissions ofClass:SDLHMIPermissions.class error:&error]; + return [self.store sdl_objectForName:SDLRPCParameterNameHMIPermissions ofClass:SDLHMIPermissions.class error:&error]; } - (void)setParameterPermissions:(SDLParameterPermissions *)parameterPermissions { - [store sdl_setObject:parameterPermissions forName:SDLRPCParameterNameParameterPermissions]; + [self.store sdl_setObject:parameterPermissions forName:SDLRPCParameterNameParameterPermissions]; } - (SDLParameterPermissions *)parameterPermissions { NSError *error = nil; - return [store sdl_objectForName:SDLRPCParameterNameParameterPermissions ofClass:SDLParameterPermissions.class error:&error]; + return [self.store sdl_objectForName:SDLRPCParameterNameParameterPermissions ofClass:SDLParameterPermissions.class error:&error]; } @end |