 
 import UIKit
 
-@objc public enum PageControlPosition: Int {
+public enum PageControlPosition {
     case Hidden
     case InsideScrollView
     case UnderScrollView
+    case Custom(padding: CGFloat)
     
     var bottomPadding: CGFloat {
         switch self {

            return 0.0
        case .UnderScrollView:
            return 30.0
        }
    }
}

    
    override public func layoutSubviews() {
        super.layoutSubviews()

        if case .Hidden = self.pageControlPosition {
            pageControl.hidden = true
        } else {
            pageControl.hidden = false
        }
        pageControl.frame = CGRectMake(0, 0, frame.size.width, 10)
        pageControl.center = CGPointMake(frame.size.width / 2, frame.size.height - 12.0)
        
