samhuri.net-ios/Blog/BlogStatus.m
2015-04-22 00:26:22 -07:00

28 lines
598 B
Objective-C

//
// BlogStatus.m
// Blog
//
// Created by Sami Samhuri on 2014-11-23.
// Copyright (c) 2014 Guru Logic Inc. All rights reserved.
//
#import "BlogStatus.h"
@implementation BlogStatus
+ (NSDictionary *)JSONKeyPathsByPropertyKey {
return @{
@"localVersion" : @"local-version",
@"remoteVersion" : @"remote-version",
};
}
- (instancetype)initWithDictionary:(NSDictionary *)dictionaryValue error:(NSError **)error {
self = [super initWithDictionary:dictionaryValue error:error];
if (self) {
_date = [NSDate date];
}
return self;
}
@end