RBPageHeaderItem Class Reference

Inherits from NSObject
Declared in RBPageHeaderItem.h

Overview

An item to be displayed in a page header.

  themeIdentifier

The identifier of the theme (in the page header) to be applied to this item.

@property (nonatomic, readonly, nullable) NSString *themeIdentifier

Declared In

RBPageHeaderItem.h

  alignment

The horizontal alignment of the item within the page header.

@property (nonatomic, readonly) RBPageHeaderItemAlignment alignment

Declared In

RBPageHeaderItem.h

  view

The item view to display within the page header.

@property (nonatomic, readonly, nonnull) UIView *view

Declared In

RBPageHeaderItem.h

– initWithThemeIdentifier:alignment:view:

Initializes a new page header item.

- (nonnull instancetype)initWithThemeIdentifier:(nullable NSString *)themeIdentifier alignment:(RBPageHeaderItemAlignment)alignment view:(nonnull UIView *)view

Parameters

themeIdentifier

The identifier of the theme (in the page header) to apply to the item.

alignment

The horizontal alignment of the item within the page header.

view

The item view to display within the page header.

Return Value

The initialized page header item.

Declared In

RBPageHeaderItem.h