Skip to content

Instantly share code, notes, and snippets.

@reddavis
Last active August 29, 2015 14:19
Show Gist options
  • Save reddavis/678a95f9446a6785504d to your computer and use it in GitHub Desktop.
Save reddavis/678a95f9446a6785504d to your computer and use it in GitHub Desktop.
@interface TestUser ()
@property (copy, nonatomic) NSString *modelIdentifier;
@end
@implementation TestUser
@dynamic name;
- (instancetype)initWithIdentifier:(NSString *)identifier
{
self = [self init];
if (self)
{
self.modelIdentifier = identifier;
}
return self;
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment