         
     }
     
-    func contentDidScroll(withOffset offset: CGFloat) {
+    public func contentDidScroll(withOffset offset: CGFloat) {
         
     }
     

        }
    }
    
    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        fatalError("init(coder:) has not been implemented")
    }

    
    //MARK: - UIScrollViewDelegate
    
    public func scrollViewDidScroll(_ scrollView: UIScrollView) {
        let offset = scrollView.contentOffset.x / scrollView.frame.size.width
        self.contentDidScroll(withOffset: offset)
        
