To customize appearance of all instances of a class, access appearance proxy of the desired class. For example:
Set UIButton tint color
Swift:
UIButton.appearance().tintColor = UIColor.greenColor()
Objective-C:
[UIButton appearance].tintColor = [UIColor greenColor];
Set UIButton background...