0
votes

I need to move a method using these accessors in super class:

@interface CBComic (CoreDataGeneratedAccessors)

- (void)addCharactersObject:(CBCharacter *)value;
- (void)removeCharactersObject:(CBCharacter *)value;
- (void)addCharacters:(NSSet *)value;
- (void)removeCharacters:(NSSet *)value;

I've copied pasted the method declarations to my superclass but I get a warning that definition is not provided in the superclass.

The implementation is provided by Core Data, so how should I solve it ? thanks

1

1 Answers

0
votes
@interface YourSuperClass : NSManagedObject

...

@end

@interface YourSuperClass (CoreDataGeneratedAccessors)

- (void)addCharactersObject:(CBCharacter *)value;
- (void)removeCharactersObject:(CBCharacter *)value;
- (void)addCharacters:(NSSet *)value;
- (void)removeCharacters:(NSSet *)value;

@end