Skip to content

Instantly share code, notes, and snippets.

@nebiros
Created February 9, 2015 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nebiros/5f724a4e1b798ab7de1a to your computer and use it in GitHub Desktop.
Save nebiros/5f724a4e1b798ab7de1a to your computer and use it in GitHub Desktop.
#import <Foundation/Foundation.h>
@interface Person : NSObject <NSCoding>
@property (strong, nonatomic) NSString *name;
@property (strong, nonatomic) NSString *address;
@property (strong, nonatomic) NSString *phone;
- (id)initWithCoder:(NSCoder *)aDecoder;
- (void)encodeWithCoder:(NSCoder *)aCoder;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment