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

Boolean values are shown as NSNumber #265

Closed
Isuru-Nanayakkara opened this issue Feb 6, 2015 · 2 comments
Closed

Boolean values are shown as NSNumber #265

Isuru-Nanayakkara opened this issue Feb 6, 2015 · 2 comments

Comments

@Isuru-Nanayakkara
Copy link

This happens in generated Swift classes. Attributes with the type Boolean are generated as NSNumber in the generated Machine classes.

@oeed
Copy link

oeed commented Oct 7, 2015

+1 Although I suspect that this might be this for a reason. That said, there could be away to make them show as booleans. It is quite annoying having to convert them or do == 0 etc.

@justin
Copy link
Collaborator

justin commented Dec 26, 2015

We are working to change this in #302.

@justin justin closed this as completed Dec 26, 2015
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

No branches or pull requests

3 participants