Class: Udgenerator::NSDouble

Inherits:
NSValue show all
Defined in:
lib/udgenerator/type.rb

Instance Method Summary collapse

Methods inherited from NSValue

#defaultValue, #objectExchange, #swift_default_value

Methods inherited from Type

#defaultValue, #initialize, #objectExchange, #property, #swift_default_value

Constructor Details

This class inherits a constructor from Udgenerator::Type

Instance Method Details

#==(type) ⇒ Object



313
314
315
# File 'lib/udgenerator/type.rb', line 313

def == (type)
	NSDouble === type && super(type)
end

#imp_get_messageObject



322
323
324
# File 'lib/udgenerator/type.rb', line 322

def imp_get_message
	"doubleForKey"
end

#imp_set_messageObject



325
326
327
# File 'lib/udgenerator/type.rb', line 325

def imp_set_message
	"setDouble"
end

#swift_type_nameObject



319
320
321
# File 'lib/udgenerator/type.rb', line 319

def swift_type_name
	"Double"
end

#type_nameObject



316
317
318
# File 'lib/udgenerator/type.rb', line 316

def type_name
	"double"
end

#typeExchange(obj) ⇒ Object



328
329
330
# File 'lib/udgenerator/type.rb', line 328

def typeExchange(obj)
	"[#{obj} doubleValue]"
end