Skip to content

Commit

Permalink
Replaced tabs with spaces for the fix to rentzsch#339
Browse files Browse the repository at this point in the history
  • Loading branch information
johnclayton committed Apr 1, 2019
1 parent 84abc62 commit 21e3557
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions momcom/NSEntityDescription+momcom.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ + (NSEntityDescription *)baseEntityForXML:(NSXMLElement *)xmlNode
if ([attributeName isEqualToString:@"name"]) {
[entityDescription setName:attributeString];
} else if ([attributeName isEqualToString:@"representedClassName"]) {
if ([attributeString hasPrefix:@"."]) {
attributeString = [attributeString substringFromIndex:1];
}
if ([attributeString hasPrefix:@"."]) {
attributeString = [attributeString substringFromIndex:1];
}
[entityDescription setManagedObjectClassName:attributeString];
} else if ([attributeName isEqualToString:@"elementID"]) {
[entityDescription setRenamingIdentifier:attributeString];
Expand Down

0 comments on commit 21e3557

Please sign in to comment.