Class: Udgenerator::NSArray

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



156
157
158
# File 'lib/udgenerator/type.rb', line 156

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

#defaultValueObject



165
166
167
# File 'lib/udgenerator/type.rb', line 165

def defaultValue
	"@[]"
end

#swift_type_nameObject



162
163
164
# File 'lib/udgenerator/type.rb', line 162

def swift_type_name
	"NSArray"
end

#type_nameObject



159
160
161
# File 'lib/udgenerator/type.rb', line 159

def type_name
	"NSArray *"
end