Skip to content

Instantly share code, notes, and snippets.

@hechen
Created August 15, 2017 02:50
Show Gist options
  • Save hechen/8cd714586584f37274b6afa06e892b94 to your computer and use it in GitHub Desktop.
Save hechen/8cd714586584f37274b6afa06e892b94 to your computer and use it in GitHub Desktop.
--- title: "NSCoding Protocol Methods" summary: "Placeholders for NSCoding protocol methods" completion-scope: Class Implementation ---
#pragma mark - NSCoding
- (instancetype)initWithCoder:(NSCoder *)decoder {
self = [super init];
if (!self) {
return nil;
}
<# implementation #>
return self;
}
- (void)encodeWithCoder:(NSCoder *)coder {
<# implementation #>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment