Rightpoint / RZDataBinding

Lightweight KVO-based data binding options.
Other
543 stars 57 forks source link

Document binding nil values to primitive types #20

Closed KingOfBrian closed 9 years ago

KingOfBrian commented 9 years ago

If rz_bind is used to bind to a primitive value, the withFunction: version must be used to properly handle nil values.

jvisenti commented 9 years ago

@KingOfBrian How would you feel about nil values always being passed up as @(0) for primitive types when a nil is encountered? RZDB can do that conversion.

jvisenti commented 9 years ago

Provided documentation for this, and several transforms for convenience. Will be included in v2.0.0