[MacRuby-devel] [MacRuby] #656: NSCoder encodeFloat and decodeFloatForKey doesn't with ruby float
MacRuby
ruby-noreply at macosforge.org
Sun Apr 18 07:47:23 PDT 2010
#656: NSCoder encodeFloat and decodeFloatForKey doesn't with ruby float
------------------------------------+---------------------------------------
Reporter: danielvlopes@… | Owner: lsansonetti@…
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/>
More information about the MacRuby-devel
mailing list