Class: Udgenerator::NSString

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, #typeExchange

Constructor Details

This class inherits a constructor from Udgenerator::Type

Instance Method Details

#==(type) ⇒ Object



122
123
124
# File 'lib/udgenerator/type.rb', line 122

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

#defaultValueObject



131
132
133
# File 'lib/udgenerator/type.rb', line 131

def defaultValue
	"@\"\""
end

#swift_default_valueObject



134
135
136
# File 'lib/udgenerator/type.rb', line 134

def swift_default_value
	"\"\""
end

#swift_type_nameObject



128
129
130
# File 'lib/udgenerator/type.rb', line 128

def swift_type_name
	"String"
end

#type_nameObject



125
126
127
# File 'lib/udgenerator/type.rb', line 125

def type_name
	"NSString *"
end