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

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

   
   // MARK: View Lifecycle
   
   override public func viewDidLoad() {
      super.viewDidLoad()
      
      // Initialize & configure scrollView
