-
Notifications
You must be signed in to change notification settings - Fork 3
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
Comments
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
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.
The text was updated successfully, but these errors were encountered: