NimbusKit
1.2.1 - Fork Nimbus on Github - Visit the Nimbus Wiki
The iOS framework that grows only as fast as its documentation
|
Functions | |
void | NIApplyImageSelectorToButton (SEL selector, id target, UIButton *button) |
void | NIApplyBackgroundImageSelectorToButton (SEL selector, id target, UIButton *button) |
void | NIApplyTitleColorSelectorToButton (SEL selector, id target, UIButton *button) |
For manipulating UIButton objects.
The methods provided here make it possible to specify different properties for different button states in a scalable way. For example, you can define a stylesheet class that has a number of class methods that return the various properties for buttons.
Sets the images for a button's states.
selector | A selector of the form: (UIImage *)imageWithControlState:(UIControlState)controlState |
target | The target upon which the selector will be invoked. |
button | The button object whose properties should be modified. |
Sets the background images for a button's states.
selector | A selector of the form: (UIImage *)backgroundImageWithControlState:(UIControlState)controlState |
target | The target upon which the selector will be invoked. |
button | The button object whose properties should be modified. |
Sets the title colors for a button's states.
selector | A selector of the form: (UIColor *)colorWithControlState:(UIControlState)controlState |
target | The target upon which the selector will be invoked. |
button | The button object whose properties should be modified. |