InsiderPageControl 0.0.1

InsiderPageControl 0.0.1

Maintained by Vova Seuruk.



  • By
  • Vova Seuruk

PageControl



Swift 4.0

Requirements

  • iOS 9.0+
  • Xcode 7.0+

Installation

CocoaPods:

Add folowing line to Podfile and run 'pod instal'.

pod 'Insider-PageControl'

Or just drag and drop FoldingCell.swift file to your project

Usage with storyboard

  1. Add a new UIView to storyboard.

  2. Inherit view from PageControl.

1.1

  1. In view controller create an outlet to a view from storyboard.

1.2

Usage without storyboard

Create a PageControl view and add it to view hierarchy.

let pageControl = PageControl(frame: CGRect(x: 0.0, y: 0.0, width: 58.0, height: 10.0))
addSubview(pageControl)

Licence

PageControl is released under the MIT license. See LICENSE for details.