RBButton Class Reference
Inherits from | UIButton |
---|---|
Declared in | RBButton.h |
minimumSelectionAreaSizeFromCenter
The minimum size of the area from the center of the button that will accept touches.
@property (nonatomic) CGSize minimumSelectionAreaSizeFromCenter
Discussion
The minimum size of the area from the center of the button that will accept touches.
Declared In
RBButton.h
padding
The padding of the button.
@property (nonatomic) UIEdgeInsets padding
Discussion
The padding of the button.
Declared In
RBButton.h
orientation
Whether or not the image and title should be vertically or horizontally arranged. Default = horizontal.
@property (nonatomic) RBOrientation orientation
Discussion
Whether or not the image and title should be vertically or horizontally arranged. Default = horizontal.
Declared In
RBButton.h
spacing
The spacing to use between the label and the image.
@property (nonatomic) CGFloat spacing
Discussion
The spacing to use between the label and the image.
Declared In
RBButton.h
– applyTitle:
Apply the title for UIControlStateNormal
.
- (void)applyTitle:(NSString *)title
Parameters
title |
The title of the button. |
---|
Discussion
Apply the title for UIControlStateNormal
.
Declared In
RBButton.h
– applyImage:
Apply the image for UIControlStateNormal
.
- (void)applyImage:(UIImage *)image
Parameters
image |
The image of the button. |
---|
Discussion
Apply the image for UIControlStateNormal
.
Declared In
RBButton.h