Class: Udgenerator::NSString
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
Instance Method Details
#==(type) ⇒ Object
122
123
124
|
# File 'lib/udgenerator/type.rb', line 122
def == (type)
NSString === type && super(type)
end
|
#defaultValue ⇒ Object
131
132
133
|
# File 'lib/udgenerator/type.rb', line 131
def defaultValue
"@\"\""
end
|
#swift_default_value ⇒ Object
134
135
136
|
# File 'lib/udgenerator/type.rb', line 134
def swift_default_value
"\"\""
end
|
#swift_type_name ⇒ Object
128
129
130
|
# File 'lib/udgenerator/type.rb', line 128
def swift_type_name
"String"
end
|
#type_name ⇒ Object
125
126
127
|
# File 'lib/udgenerator/type.rb', line 125
def type_name
"NSString *"
end
|