RBPageHeaderViewController Class Reference

Inherits from UIViewController
Declared in RBPageHeaderViewController.h

Overview

A customisable page header.

  pageViewController

The RBPageViewController that the header belongs to.

@property (nonatomic, weak, readonly, nullable) RBPageViewController *pageViewController

Discussion

The RBPageViewController that the header belongs to.

Declared In

RBPageHeaderViewController.h

  items

The items to display on the header.

@property (nonatomic, nullable) NSArray<RBPageHeaderItem*> *items

Discussion

The items to display on the header.

Declared In

RBPageHeaderViewController.h

  margin

The margin to apply around the items in the header.

@property (nonatomic) UIEdgeInsets margin

Discussion

The margin to apply around the items in the header.

Declared In

RBPageHeaderViewController.h

  spacing

The spacing to apply between the items in the header.

@property (nonatomic) CGFloat spacing

Discussion

The spacing to apply between the items in the header.

Declared In

RBPageHeaderViewController.h

– headerSizeWithPageSize:

The size that the header requires within the given page size.

- (CGSize)headerSizeWithPageSize:(CGSize)pageSize

Parameters

pageSize

The size of the page that the header will be displayed in.

Return Value

The size that the header requires.

Discussion

The size that the header requires within the given page size.

Declared In

RBPageHeaderViewController.h