Skip to content

Commit

Permalink
made special case hack working again
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgarbarev committed Jan 30, 2014
1 parent 3b951d5 commit 601853e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ - (id) newInstanceWithDefinition:(TyphoonDefinition*)definition
initTarget = [definition.type alloc];
}

/* Check this case again. I think this problem might be fixed now */
[self handleSpecialCaseForNSManagedObjectModel:initTarget];

void *resultPointer;

NSInvocation *invocation = [self invocationToInit:initTarget withDefinition:definition];
Expand All @@ -97,9 +100,6 @@ - (id) newInstanceWithDefinition:(TyphoonDefinition*)definition

id instance = (__bridge id) resultPointer;

/* Check this case again. I think this problem might be fixed now */
[self handleSpecialCaseForNSManagedObjectModel:instance];

return instance;
}

Expand Down

0 comments on commit 601853e

Please sign in to comment.