Class: Udgenerator::NSFloat
Instance Method Summary
collapse
Methods inherited from NSValue
#defaultValue, #objectExchange, #swift_default_value
Methods inherited from Type
#defaultValue, #initialize, #objectExchange, #property, #swift_default_value
Instance Method Details
#==(type) ⇒ Object
293
294
295
|
# File 'lib/udgenerator/type.rb', line 293
def == (type)
NSFloat === type && super(type)
end
|
#imp_get_message ⇒ Object
302
303
304
|
# File 'lib/udgenerator/type.rb', line 302
def imp_get_message
"floatForKey"
end
|
#imp_set_message ⇒ Object
305
306
307
|
# File 'lib/udgenerator/type.rb', line 305
def imp_set_message
"setFloat"
end
|
#swift_type_name ⇒ Object
299
300
301
|
# File 'lib/udgenerator/type.rb', line 299
def swift_type_name
"Float"
end
|
#type_name ⇒ Object
296
297
298
|
# File 'lib/udgenerator/type.rb', line 296
def type_name
"float"
end
|
#typeExchange(obj) ⇒ Object
308
309
310
|
# File 'lib/udgenerator/type.rb', line 308
def typeExchange(obj)
"[#{obj} floatValue]"
end
|