Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support newly-created models when --model=*.xcdatamodeld #138

Merged
merged 1 commit into from
Nov 20, 2012

Conversation

sgrankin
Copy link
Contributor

When models are freshly created, they only have one version and no
.xccurrentversion file. In this case, and only in this case, assume the
only present model is the desired model.

Fixes #137

When models are freshly created, they only have one version and no 
.xccurrentversion file.  In this case, and only in this case, assume the 
only present model is the desired model.
rentzsch added a commit that referenced this pull request Nov 20, 2012
[FIX] Handle .xcdatamodeld bundles that are missing an .xccurrentversion but contain a single .xcdatamodel file. (Sixten Otto, Sergey Grankin)
@rentzsch rentzsch merged commit ce9cae1 into rentzsch:master Nov 20, 2012
ddrccw pushed a commit to ddrccw/mogenerator that referenced this pull request Jan 20, 2014
[FIX] Handle .xcdatamodeld bundles that are missing an .xccurrentversion but contain a single .xcdatamodel file. (Sixten Otto, Sergey Grankin)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Versioned model doesn't work with only one version
2 participants