Initial commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
//
|
||||
// CheckNewVersionResult.m
|
||||
// Yoosee
|
||||
//
|
||||
// Created by guojunyi on 14-6-16.
|
||||
// Copyright (c) 2014年 guojunyi. All rights reserved.
|
||||
//
|
||||
|
||||
#import "CheckNewMessageResult.h"
|
||||
|
||||
@implementation CheckNewMessageResult
|
||||
-(void)encodeWithCoder:(NSCoder *)aCoder{
|
||||
|
||||
[aCoder encodeBool:self.isNewContactMessage forKey:@"isNewContactMessage"];
|
||||
[aCoder encodeInt:self.error_code forKey:@"error_code"];
|
||||
}
|
||||
|
||||
-(id)initWithCoder:(NSCoder *)aDecoder{
|
||||
self = [super init];
|
||||
if(self){
|
||||
self.isNewContactMessage = [aDecoder decodeBoolForKey:@"isNewContactMessage"];
|
||||
self.error_code = [aDecoder decodeIntForKey:@"error_code"];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
@end
|
||||
Reference in New Issue
Block a user