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

Declared In

RBPageHeaderViewController.h

  items

The items to display on the header.

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

Declared In

RBPageHeaderViewController.h

  margin

The margin to apply around the items in the header.

@property (nonatomic) UIEdgeInsets margin

Declared In

RBPageHeaderViewController.h

  spacing

The spacing to apply between the items in the header.

@property (nonatomic) CGFloat spacing

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.

Declared In

RBPageHeaderViewController.h