-
Notifications
You must be signed in to change notification settings - Fork 395
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
Can't use property name enums in Swift. #218
Comments
Scenario
changed the title
Can't use property name enums
Can't use property name enums in Swift
Jul 10, 2014
Scenario
changed the title
Can't use property name enums in Swift
Can't use property name enums in Swift.
Jul 10, 2014
Awesome, can't wait to use it! |
We are declaring pull request and issue 0 now that 1.3 is out. If this is still an issue you'd like to see address with 1.30 and going forward, please open a new issue so we can start a fresh discussion. Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using the Swift template in 1.28, the Swift compiler in Xcode Beta 3 will not allow the use of your auto-generated string constants for property names. It issues the error "'MyEntityAttributes' is not convertible to 'String'" on any line of code like this one:
if anInstanceOfMyEntity.valueForKey(MyEntityAttributes.aProperty).integerValue != whatever
Is this an Apple bug or a mogenerator bug?
The text was updated successfully, but these errors were encountered: