Skip to content

Instantly share code, notes, and snippets.

@boboboa32
Created October 29, 2012 03:30
Show Gist options
  • Save boboboa32/3971312 to your computer and use it in GitHub Desktop.
Save boboboa32/3971312 to your computer and use it in GitHub Desktop.
// DO NOT EDIT. This file is machine-generated and constantly overwritten.
// Make changes to People.h instead.
#import <CoreData/CoreData.h>
extern const struct PeopleAttributes {
__unsafe_unretained NSString *age;
__unsafe_unretained NSString *name;
} PeopleAttributes;
extern const struct PeopleRelationships {
__unsafe_unretained NSString *cats;
} PeopleRelationships;
extern const struct PeopleFetchedProperties {
} PeopleFetchedProperties;
@class Cat;
@interface PeopleID : NSManagedObjectID {}
@end
@interface _People : NSManagedObject {}
+ (id)insertInManagedObjectContext:(NSManagedObjectContext*)moc_;
+ (NSString*)entityName;
+ (NSEntityDescription*)entityInManagedObjectContext:(NSManagedObjectContext*)moc_;
- (PeopleID*)objectID;
@property (nonatomic, strong) NSNumber* age;
@property int16_t ageValue;
- (int16_t)ageValue;
- (void)setAgeValue:(int16_t)value_;
//- (BOOL)validateAge:(id*)value_ error:(NSError**)error_;
@property (nonatomic, strong) NSString* name;
//- (BOOL)validateName:(id*)value_ error:(NSError**)error_;
@property (nonatomic, strong) NSSet* cats;
- (NSMutableSet*)catsSet;
@end
@interface _People (CoreDataGeneratedAccessors)
- (void)addCats:(NSSet*)value_;
- (void)removeCats:(NSSet*)value_;
- (void)addCatsObject:(Cat*)value_;
- (void)removeCatsObject:(Cat*)value_;
@end
@interface _People (CoreDataGeneratedPrimitiveAccessors)
- (NSNumber*)primitiveAge;
- (void)setPrimitiveAge:(NSNumber*)value;
- (int16_t)primitiveAgeValue;
- (void)setPrimitiveAgeValue:(int16_t)value_;
- (NSString*)primitiveName;
- (void)setPrimitiveName:(NSString*)value;
- (NSMutableSet*)primitiveCats;
- (void)setPrimitiveCats:(NSMutableSet*)value;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment