This repository has been archived by the owner on May 20, 2021. It is now read-only.
Wrap 2.0
Wrap 2.0 is a new major version that brings full Swift 3 APIs, bug fixes and new features 🎉
Wrap(..)
is nowwrap(..)
Wrap(objects:)
is nowwrap(_)
keyForWrapping(propertyName:)
is nowkeyForWrapping(propertyNamed:)
WrapCustomizable.wrap()
is nowwrap(context:dateFormatter:)
wrap(propertyName:originalValue:)
is nowwrap(propertyNamed:originalValue:context:dateFormatter:)
- All enums use a lower case leading character
- Wrapping to
snake_case
is now supported (myProperty ->
my_property`) - Int64 & UInt64 are now encoded properly on 32 bit systems
- Date Formatters are now kept througout the entire wrapping process, and can be used in customized wrapping
- Wrap now has support for contextual objects just like Unbox has (send
context:
) when initiating the wrapping