/RMShapesPageControl

A custom page control having custom shapes as indicators works both vertically and horizontally.

Primary LanguageSwift

RMShapesPageControl

alt tagalt tag

Usage

  1. Drag and drop the RMShapesPageControl.swift into your project.
  2. Take a view in storyboard and assign the class as RMShapesPageControl in identity inspector.
  3. Set the inspectables in attributes inspector and all done.
  4. Number of pages can be set dynamically from code even as per requirement.

Indicator Configuration

  1. Square
  2. Circle
  3. Triangle in Positive direction
  4. Triangle in Negative direction

Note

  1. Vertical Configuration: Make the view width narrower and the height lengthier.
  2. Horizontal Configuration: Make the view width lengthier and the height narrower.

alt tag