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

Add support for custom scalar attribute types… #177

Closed
wants to merge 1 commit into from

Commits on Nov 5, 2013

  1. Add support for custom scalar attribute types using the 'scalarAttrib…

    …uteType' user info key.
    
    Although the generated scalar accessors will utilize the given type to box/unbox and cast without issues, Core Data (obviously) still constrains values to the "real" storage type of the attribute set in the data model.
    Therefore, it's the developer's responsibility to make sure to only use values both types — i.e. the "real" attribute type set in the model and the custom one used in the generated classes — support, to mitigate casting/overflow/underflow issues.
    noahd committed Nov 5, 2013
    Configuration menu
    Copy the full SHA
    f15efde View commit details
    Browse the repository at this point in the history