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

Crash on processing nil date #46

Closed
mpaulsonco opened this issue Jun 25, 2015 · 2 comments
Closed

Crash on processing nil date #46

mpaulsonco opened this issue Jun 25, 2015 · 2 comments

Comments

@mpaulsonco
Copy link
Contributor

Realm can handle nil objects if you provide a default value with defaultPropertyValues.

MCJSONDateTransformer crashes at [self.formatter dateFromString:value]; if value is nil.

@mpaulsonco
Copy link
Contributor Author

@matthewcheok I wanted to see if you have any thoughts on my suggest contribution.

@matthewcheok
Copy link
Owner

Sorry for the late reply. Similar issue here maybe? Looks good

matthewcheok added a commit that referenced this issue Aug 21, 2015
#46 fixed MCJSONDateTransformer crash when processing nil dates
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

2 participants