diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2016-09-30 10:22:39 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2016-09-30 10:22:39 -0400 |
commit | 5f956e3a5240ee18e0b91681e2f7bb962a0c23c5 (patch) | |
tree | 6ec55ead711ce2805c5388fe61b6b451db064f7d /SmartDeviceLink/SDLDialNumber.m | |
parent | 41abf01feb2d1103ce2d98392b0713e135d3d4fe (diff) | |
parent | 8e68144a2ca0f21549da818ebd8ac58c7f248e2d (diff) | |
download | sdl_ios-5f956e3a5240ee18e0b91681e2f7bb962a0c23c5.tar.gz |
Merge branch 'develop' into feature/issue_151_struct_dictionary_init
# Conflicts:
# SmartDeviceLink/SDLRPCStruct.m
Diffstat (limited to 'SmartDeviceLink/SDLDialNumber.m')
-rw-r--r-- | SmartDeviceLink/SDLDialNumber.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/SmartDeviceLink/SDLDialNumber.m b/SmartDeviceLink/SDLDialNumber.m index 976ed4e82..10c1addd1 100644 --- a/SmartDeviceLink/SDLDialNumber.m +++ b/SmartDeviceLink/SDLDialNumber.m @@ -9,21 +9,21 @@ @implementation SDLDialNumber - (instancetype)init { - if (self = [super initWithName:NAMES_DialNumber]) { + if (self = [super initWithName:SDLNameDialNumber]) { } return self; } - (void)setNumber:(NSString *)number { if (number != nil) { - parameters[NAMES_number] = number; + parameters[SDLNameNumber] = number; } else { - [parameters removeObjectForKey:NAMES_number]; + [parameters removeObjectForKey:SDLNameNumber]; } } - (NSString *)number { - return parameters[NAMES_number]; + return parameters[SDLNameNumber]; } @end |