#656: NSCoder encodeFloat and decodeFloatForKey doesn't with ruby float
------------------------------------+---------------------------------------
Reporter: danielvlo...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: major | Milestone: MacRuby 0.5
Component: MacRuby | Keywords: NSCoder Float
------------------------------------+---------------------------------------
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).
--
Ticket URL: <http://www.macruby.org/trac/ticket/656>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel