Class: Udgenerator::NSDate

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



195
196
197
# File 'lib/udgenerator/type.rb', line 195

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

#defaultValueObject



204
205
206
# File 'lib/udgenerator/type.rb', line 204

def defaultValue
	"[NSDate date]"
end

#swift_default_valueObject



207
208
209
# File 'lib/udgenerator/type.rb', line 207

def swift_default_value
	"NSDate()"
end

#swift_type_nameObject



201
202
203
# File 'lib/udgenerator/type.rb', line 201

def swift_type_name
	"NSDate"
end

#type_nameObject



198
199
200
# File 'lib/udgenerator/type.rb', line 198

def type_name
	"NSDate *"
end