    
 }
 
-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!

   
   // MARK: Gesture Recognize Delegate
   
   func gestureRecognizer(gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWithGestureRecognizer otherGestureRecognizer: UIGestureRecognizer) -> Bool {
      return true
   }
   
   // MARK: ScrollView Delegate
   
   func scrollViewDidEndDecelerating(scrollView: UIScrollView) {
      currentIndex = Int(scrollView.contentOffset.x / scrollView.bounds.width)
   }
   

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