FCPageControl 1.0.0

FCPageControl 1.0.0

TestsTested
LangLanguage Obj-CObjective C
License Custom
ReleasedLast Release Dec 2014

Maintained by Unclaimed.



Lightweight, high customizable replacement for UIPageControl

Compatibility

FCPageControl is tested against iOS versions greater or equal than 6.0.
The base SDK has to be 7.0 or greater because of the new obj-c syntax.

Installation

Just drop the header and implementation file to you proyect and you're good to go.

Enhancements over UIPageControl

Fill options

There are four possible types:

  • FCPageControlTypeActiveFillInactiveFill
  • FCPageControlTypeActiveFillInactiveEmpty
  • FCPageControlTypeActiveEmptyInactiveFill
  • FCPageControlTypeActiveEmptyInactiveEmpty

Dots color

It allows to set colors for the active and inactive elements, no more hacks to swith the dots for images.

  • activeColor:(UIColor *)
  • inactiveColor:(UIColor *)

Dots diameter and spacing

Now you can set the diameter of the dots, as well as the space between them.

  • dotDiameter:(CGFloat)
  • dotMargin:(CGFloat)

Also it inmplements all the common funcionality of the UIPageControl, check the header file for more info.

Delegate

FCPageControl provides a delate with optional methods:

  • pageControl:Clicked:
    • It retuns the index of the dot clicked.