public
Last active

  • Download Gist
gistfile1.m
Objective-C
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
///////////////////////////////////////////////////////////////////////////////////////////////////
#pragma mark -
#pragma mark Key/Value coding
 
- (id)initWithCoder:(NSCoder *)aCoder {
if (self = [self init]) {
[TPAutoArchiver unarchiveObject:self
withCoder:aCoder];
}
return self;
}
- (void)encodeWithCoder:(NSCoder *)aCoder {
[TPAutoArchiver archiveObject:self
withCoder:aCoder];
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.