     return view
     }()
 
+  public private(set) var pageControl: UIPageControl?
+
   public convenience init(_ pages: [UIViewController],
     transitionStyle: UIPageViewControllerTransitionStyle = .Scroll,
     navigationOrientation: UIPageViewControllerNavigationOrientation = .Horizontal,

    addConstraints()
    view.bringSubviewToFront(bottomLineView)
    goTo(startPage)
  }
}


            title = viewController.title
          }

          if let pageControl = pageControl {
            pageControl.currentPage = currentIndex
          }

          pagesDelegate?.pageViewController(self, setViewController: pages[currentIndex], atPage: currentIndex)
      }
    }
