Ticket #656 (closed defect: fixed)
NSCoder encodeFloat and decodeFloatForKey doesn't with ruby float
| Reported by: | danielvlopes@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | major | Milestone: | MacRuby 0.6 |
| Component: | MacRuby | Keywords: | NSCoder Float |
| Cc: |
Description
I'm not sure it's a bug or I'm doing something wrong but how Laurent asked, I post it as ticket here.
The code attached is just one example of Hillegass book converted to MacRuby. If you create a new person's in the TableView and try save will raise a warning saying that NSDecimal?Number can't be coerced in Float (the textfield of TableView uses a NSNumberFormatter).
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


