@IBInspectable open var inactiveTintColor: UIColor
@IBInspectable open var currentPageTintColor: UIColor
@IBInspectable open var radius: CGFloat
@IBInspectable open var padding: CGFloat
@IBInspectable open var minScaleValue: CGFloat
@IBInspectable open var middleScaleValue: CGFloat
@IBInspectable open var numberOfPages: Int
@IBInspectable open var hideForSinglePage: Bool
@IBInspectable open var inactiveTransparency: CGFloat
@IBInspectable open var borderWidth: CGFloat
@IBInspectable open var borderColor: UIColor
If you want to know more detailed usage, please refer to Example.
ISPageControl
ISPageControl has a page control similar to that used in the Instagram
Contents
Requirements
Installation
CocoaPods
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
To integrate ISPageControl into your Xcode project using CocoaPods, specify it in your
Podfile
:Then, run the following command:
Carthage
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
To integrate ISPageControl into your Xcode project using Carthage, specify it in your
Cartfile
:Run
carthage update
to build the framework and drag the builtISPageControl.framework
into your Xcode project.Manually
If you prefer not to use either of the aforementioned dependency managers, you can integrate ISPageControl into your project manually.
Usage
The usage of ISPageControl is very simple
Storyboard, Xib
Just drop UIView and set its class to be one of ISPageControl.
Code
Custom
If you want to know more detailed usage, please refer to Example.
Communication
Credits
License
ISPageControl is released under the MIT license. See LICENSE for details.