Class: Udgenerator::NSDictionary

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

Instance Method Summary collapse

Methods inherited from NSObject

#imp_get_message, #imp_set_message

Methods inherited from Type

#imp_set_message, #initialize, #objectExchange, #property, #swift_default_value, #typeExchange

Constructor Details

This class inherits a constructor from Udgenerator::Type

Instance Method Details

#==(type) ⇒ Object



170
171
172
# File 'lib/udgenerator/type.rb', line 170

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

#defaultValueObject



179
180
181
# File 'lib/udgenerator/type.rb', line 179

def defaultValue
	"@{}"
end

#swift_type_nameObject



176
177
178
# File 'lib/udgenerator/type.rb', line 176

def swift_type_name
	"NSDictionary"
end

#type_nameObject



173
174
175
# File 'lib/udgenerator/type.rb', line 173

def type_name
	"NSDictionary *"
end