Skip to content

Commit 5f03745

Browse files
committed
Fix conflicting return type by making subentity's objectID class a subclass of the superentity's objectID class
1 parent 54e8c10 commit 5f03745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/machine.h.motemplate

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ extern const struct <$managedObjectClassName$>FetchedProperties {<$foreach Fetch
3232
<$endforeach do$>
3333
<$else$>@class <$Attribute.objectAttributeClassName$>;<$endif$><$endif$>
3434
<$endforeach do$>
35-
@interface <$managedObjectClassName$>ID : NSManagedObjectID {}
35+
@interface <$managedObjectClassName$>ID : <$customSuperentity$>ID {}
3636
@end
3737

3838
@interface _<$managedObjectClassName$> : <$customSuperentity$> {}

0 commit comments

Comments
 (0)