Is it possible to use iOS 5 appearance proxies to refactor code that sets properties on layers?
_button.layer.cornerRadius = 5.0f;
_button.layer.borderWidth = 1.0f;
_button.layer.borderColor = [[UIColor blackColor] CGColor];
_button.layer.masksToBounds = YES;
Nope.. Apple’s says:
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIAppearance_Protocol/Reference/Reference.html
And UIButton does not.
EDIT:
And UIButton does not have any methods marked with UI_APPEARANCE_SELECTOR.