diff options
author | Muller, Alexander (A.) <amulle19@ford.com> | 2016-10-20 10:18:56 -0700 |
---|---|---|
committer | Muller, Alexander (A.) <amulle19@ford.com> | 2016-10-20 10:18:56 -0700 |
commit | 3f7b58371fe706ab400bbe8fa33627d0aec362d8 (patch) | |
tree | 168d4cac663c7efe2ca0451fdf4da350aaa0a69d /SmartDeviceLink/SDLDialNumber.m | |
parent | a319ef8da9750c87737cb8c36131db9bd369288a (diff) | |
download | sdl_ios-3f7b58371fe706ab400bbe8fa33627d0aec362d8.tar.gz |
Initial commit of deprecated SDLRPCRequestFactory and added inits.
Diffstat (limited to 'SmartDeviceLink/SDLDialNumber.m')
-rw-r--r-- | SmartDeviceLink/SDLDialNumber.m | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLDialNumber.m b/SmartDeviceLink/SDLDialNumber.m index 856f9ad75..e6704a14d 100644 --- a/SmartDeviceLink/SDLDialNumber.m +++ b/SmartDeviceLink/SDLDialNumber.m @@ -20,6 +20,13 @@ return self; } +- (instancetype)initWithNumber:(NSString *)number { + if (self = [self init]) { + self.number = number; + } + return self; +} + - (void)setNumber:(NSString *)number { if (number != nil) { parameters[NAMES_number] = number; |