Skip to content

Instantly share code, notes, and snippets.

@kuetsuhara
Last active January 1, 2016 07:19
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 kuetsuhara/8111059 to your computer and use it in GitHub Desktop.
Save kuetsuhara/8111059 to your computer and use it in GitHub Desktop.
CBLModel
ShoppingItem.h
@interface ShoppingItem : CBLModel
@property BOOL check;
@property (nonatomic, copy) NSString *type;
@property (nonatomic, copy) NSString *text;
@property (nonatomic, copy) NSDictionary *dictionary;
@property (nonatomic, copy) NSArray *array;
@property (nonatomic, strong) NSDate *created_at;
@end
ShoppingItem.m
@implementation ShoppingItem
@dynamic type, check, text, created_at, dictionary, array;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment