rubymotion/teacup — pull request #22 by MarkVillacampa (2012-06-04 14:46:34+00:00)
Title: Added the hability to create default styles for UI elements

Defining a style for a UIView subclass sets a default style for that class:

Teacup::Stylesheet.new(:IPhone) do
style UIButton,
backgroundColor: UIColor.greenColor
end

Now all UIButtons will have green background by default.