Index

RBMenuSegmentHeaderView.h

Classes


RBMenuSegmentHeaderView

A header view for a menu segment.

Properties

The title of the segment header.
public title NSString? { get set }

The image to display in the segment header view.
public image UIImage? { get set }

The height of the segment header.
public fixedHeight CGFloat { get set }

The margin to apply to the margin header.
public margin UIEdgeInsets { get set }

Functions

Creates a new menu segment header view with a title.
@param title : The title of the segment header.
@returns The new header view.
+ (nonnull RBMenuSegmentHeaderView *)newHeaderWithTitle:(nonnull NSString *)title;

Creates a new menu segment header view with an image.
@param image : The image to display in the segment header view.
@returns The new header view.
+ (nonnull RBMenuSegmentHeaderView *)newHeaderWithImage:(nonnull UIImage *)image;