Browse Source

Minor changes.

v1.2.4
Abhishek Banthia 9 years ago
parent
commit
6a39de3ad5
  1. 5
      Clocker/Model/CLTimezoneData.m

5
Clocker/Model/CLTimezoneData.m

@ -59,7 +59,6 @@
+ (instancetype)getCustomObject:(NSData *)encodedData + (instancetype)getCustomObject:(NSData *)encodedData
{ {
if (encodedData) if (encodedData)
{ {
if ([encodedData isKindOfClass:[NSDictionary class]]) if ([encodedData isKindOfClass:[NSDictionary class]])
@ -82,7 +81,7 @@
[coder encodeObject:self.formattedAddress forKey:@"formattedAddress"]; [coder encodeObject:self.formattedAddress forKey:@"formattedAddress"];
[coder encodeObject:self.customLabel forKey:@"customLabel"]; [coder encodeObject:self.customLabel forKey:@"customLabel"];
[coder encodeObject:self.timezoneID forKey:@"timezoneID"]; [coder encodeObject:self.timezoneID forKey:@"timezoneID"];
[coder encodeObject:self.nextUpdate forKey:@"nextUpdate"]; [coder encodeObject:self.nextUpdate forKey:@"latitude"];
[coder encodeObject:self.isFavourite forKey:@"isFavourite"]; [coder encodeObject:self.isFavourite forKey:@"isFavourite"];
} }
@ -96,7 +95,7 @@
self.formattedAddress = [coder decodeObjectForKey:@"formattedAddress"]; self.formattedAddress = [coder decodeObjectForKey:@"formattedAddress"];
self.customLabel = [coder decodeObjectForKey:@"customLabel"]; self.customLabel = [coder decodeObjectForKey:@"customLabel"];
self.timezoneID = [coder decodeObjectForKey:@"timezoneID"]; self.timezoneID = [coder decodeObjectForKey:@"timezoneID"];
self.nextUpdate = [coder decodeObjectForKey:@"nextUpdate"]; self.nextUpdate = [coder decodeObjectForKey:@"latitude"];
self.isFavourite = [coder decodeObjectForKey:@"isFavourite"]; self.isFavourite = [coder decodeObjectForKey:@"isFavourite"];
} }

Loading…
Cancel
Save