RBButtonCellView Class Reference

Inherits from RBBaseCellView : UIView
Declared in RBButtonCellView.h

Overview

A simple cell that provides a label and image much like a button.

  titleLabel

The label.

@property (nonatomic, readonly, nonnull) RBLabel *titleLabel

Declared In

RBButtonCellView.h

  imageView

The image.

@property (nonatomic, readonly, nonnull) RBImageView *imageView

Declared In

RBButtonCellView.h

  orientation

Whether or not the image and title should be vertically or horizontally arranged. Default = RBOrientationHorizontal.

@property (nonatomic) RBOrientation orientation

Declared In

RBButtonCellView.h

  titleFirst

Whether or not the title should be before the image. Default = NO.

@property (nonatomic) BOOL titleFirst

Declared In

RBButtonCellView.h

  spacing

The spacing to use between the label and the image. This has the effect of increasing the size of the button in the direction set via the orientation property. Default = 0.

@property (nonatomic) CGFloat spacing

Declared In

RBButtonCellView.h

  image

The image to on the imageView.

@property (nonatomic, nullable) UIImage *image

Declared In

RBButtonCellView.h

  title

The title to set on the titleLabel.

@property (nonatomic, nullable) NSString *title

Declared In

RBButtonCellView.h