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

Should optionally support NSNull for nil valued keys #5

Open
hermiteer opened this issue Jul 17, 2014 · 1 comment
Open

Should optionally support NSNull for nil valued keys #5

hermiteer opened this issue Jul 17, 2014 · 1 comment

Comments

@hermiteer
Copy link
Owner

This would allow for testing dictionary vs declare properties to correctly test if some values are NSNull rather than entirely missing.

This would require updating the test methods, as well as setObject:forSetter: and any returning object methods.

@hermiteer
Copy link
Owner Author

Actually a better way to do this would be to purge those values when instancing with a dictionary. A static method can be provided for subclasses to use, or a static flag to enable it for all instances of CottonObject, or a method to overload to enable it on a per class basis.

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

1 participant