RBPageControl Class Reference

Inherits from UIView
Declared in RBPageControl.h

Overview

A page indication control.

Provides more theming options than UIPageControl but does not provide user interaction.

  enabled

Whether or not the control is enabled or disabled.

@property (nonatomic) BOOL enabled

Declared In

RBPageControl.h

  margin

The margin to be provided around the dots.

@property (nonatomic) UIEdgeInsets margin

Declared In

RBPageControl.h

  numberOfPages

The total number of pages.

@property (nonatomic) NSUInteger numberOfPages

Declared In

RBPageControl.h

  currentPage

The current page index that is selected.

@property (nonatomic) NSUInteger currentPage

Declared In

RBPageControl.h

  dotDiameter

The diameter of the dots in pt.

@property (nonatomic) CGFloat dotDiameter

Declared In

RBPageControl.h

  dotSpacing

The spacing between dots in pt.

@property (nonatomic) CGFloat dotSpacing

Declared In

RBPageControl.h

  dotColorCurrentPage

The color of the current page dot.

@property (nonatomic, nonnull) UIColor *dotColorCurrentPage

Declared In

RBPageControl.h

  dotColorOtherPage

The color of an inactive page dot.

@property (nonatomic, nonnull) UIColor *dotColorOtherPage

Declared In

RBPageControl.h