Skip to content

Instantly share code, notes, and snippets.

@cosbor11
Created October 23, 2015 06:58
Show Gist options
  • Select an option

  • Save cosbor11/28111b28ccce8165d1bb to your computer and use it in GitHub Desktop.

Select an option

Save cosbor11/28111b28ccce8165d1bb to your computer and use it in GitHub Desktop.
Objective C Person header
#import <Foundation/Foundation.h>
#import "SWGObject.h"
NS_ASSUME_NONNULL_BEGIN
@interface Person : SWGObject
@property (nullable, nonatomic, retain) NSString *firstName;
@property (nullable, nonatomic, retain) NSString *lastName;
@property (nullable, nonatomic, retain) NSNumber *personId;
// Insert code here to declare functionality of your managed object subclass
@end
NS_ASSUME_NONNULL_END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment