Class: Udgenerator::NSBOOL
Instance Method Summary
collapse
Methods inherited from NSValue
#defaultValue, #objectExchange
Methods inherited from Type
#defaultValue, #initialize, #objectExchange, #property
Instance Method Details
#==(type) ⇒ Object
270
271
272
|
# File 'lib/udgenerator/type.rb', line 270
def == (type)
NSBOOL === type && super(type)
end
|
#imp_get_message ⇒ Object
279
280
281
|
# File 'lib/udgenerator/type.rb', line 279
def imp_get_message
"boolForKey"
end
|
#imp_set_message ⇒ Object
282
283
284
|
# File 'lib/udgenerator/type.rb', line 282
def imp_set_message
"setBool"
end
|
#swift_default_value ⇒ Object
288
289
290
|
# File 'lib/udgenerator/type.rb', line 288
def swift_default_value
"false"
end
|
#swift_type_name ⇒ Object
276
277
278
|
# File 'lib/udgenerator/type.rb', line 276
def swift_type_name
"Bool"
end
|
#type_name ⇒ Object
273
274
275
|
# File 'lib/udgenerator/type.rb', line 273
def type_name
"BOOL"
end
|
#typeExchange(obj) ⇒ Object
285
286
287
|
# File 'lib/udgenerator/type.rb', line 285
def typeExchange(obj)
"[#{obj} boolValue]"
end
|