Sha256: 548cc1557ef6ab9fb8f19614a704929b15c68c53ef56168f6aaaa13695360402

Contents?: true

Size: 276 Bytes

Versions: 1

Compression:

Stored size: 276 Bytes

Contents

class UILabel

	def on
		self.becomeFirstResponder
	end

	def off
		self.resignFirstResponder
	end

	def color(value)
		self.textColor = value.class == UIColor ? value : value.uicolor
		self
	end

	def size(value)
		self.font = UIFont.systemFontOfSize(value)
		self
	end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cha_work-0.1 lib/cha_work/sugar/uilabel.rb