 import UIKit
 import Cartography
 
-protocol SBPagesControllerDataSource: class {
+public protocol SBPagesControllerDataSource: class {
    
    func pagesSlider(viewControllerForIndex index: Int) -> UIViewController
    

   
}

class SBPagesController: UIViewController, UIScrollViewDelegate, UIGestureRecognizerDelegate {
   
   // MARK: Properties
   
   weak var dataSource: SBPagesControllerDataSource?
   weak var delegate: SBPagesControllerDelegate?
   
   private var views: [UIView] = []
   var scrollView: SBScrollView!

      
   }
   
   override public func viewWillLayoutSubviews() {
      super.viewWillLayoutSubviews()
      
      // Do not observe contentOffset while relayouting subviews
