RBMenuSegmentHeaderView Class Reference

Inherits from UIView
Declared in RBMenuSegmentHeaderView.h

Overview

A header view for a menu segment.

  title

The title of the segment header.

@property (nonatomic, nullable) NSString *title

Declared In

RBMenuSegmentHeaderView.h

  image

The image to display in the segment header view.

@property (nonatomic, nullable) UIImage *image

Declared In

RBMenuSegmentHeaderView.h

  fixedHeight

The height of the segment header.

@property (nonatomic) CGFloat fixedHeight

Declared In

RBMenuSegmentHeaderView.h

  margin

The margin to apply to the margin header.

@property (nonatomic) UIEdgeInsets margin

Declared In

RBMenuSegmentHeaderView.h

+ newHeader

Creates a new menu segment header view.

+ (nonnull RBMenuSegmentHeaderView *)newHeader

Return Value

The new header view.

Declared In

RBMenuSegmentHeaderView.h

+ newHeaderWithTitle:

Creates a new menu segment header view with a title.

+ (nonnull RBMenuSegmentHeaderView *)newHeaderWithTitle:(nonnull NSString *)title

Parameters

title

The title of the segment header.

Return Value

The new header view.

Declared In

RBMenuSegmentHeaderView.h

+ newHeaderWithImage:

Creates a new menu segment header view with an image.

+ (nonnull RBMenuSegmentHeaderView *)newHeaderWithImage:(nonnull UIImage *)image

Parameters

image

The image to display in the segment header view.

Return Value

The new header view.

Declared In

RBMenuSegmentHeaderView.h