Skip to content

Commit

Permalink
Merge pull request #201 from thusfresh/iOS8Fix
Browse files Browse the repository at this point in the history
[CHANGE] iOS 8 changes objectID from a getter into a property, resulting in a warning. Templates updated to match. (Ryan Johnson)
  • Loading branch information
rentzsch committed Jun 6, 2014
2 parents 1140ad3 + 0e1fae6 commit b9b0157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/machine.h.motemplate
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ extern const struct <$managedObjectClassName$>UserInfo {<$foreach UserInfo userI
+ (id)insertInManagedObjectContext:(NSManagedObjectContext*)moc_;
+ (NSString*)entityName;
+ (NSEntityDescription*)entityInManagedObjectContext:(NSManagedObjectContext*)moc_;
- (<$managedObjectClassName$>ID*)objectID;
@property (nonatomic, readonly, strong) <$managedObjectClassName$>ID* objectID;

<$foreach Attribute noninheritedAttributes do$>
<$if Attribute.hasDefinedAttributeType$>
Expand Down

0 comments on commit b9b0157

Please sign in to comment.