Use a template variable to support module @import syntax #183

Merged
merged 0 commits into from Apr 7, 2014

Conversation

Projects
None yet
3 participants
Contributor

danielctull commented Dec 18, 2013

Without this fix, I get a warning of "treating #import as an import of module 'CoreData' [-Wauto-import]". This change allows you to include the template variable as such: "--template-var modules=true" when running mogenerator to output the imports of CoreData in the new module syntax: @import CoreData;

👍

@rentzsch rentzsch merged commit 928b835 into rentzsch:master Apr 7, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment