 }
 
 
-class WormTabStrip: UIView,UIScrollViewDelegate {
+public class WormTabStrip: UIView,UIScrollViewDelegate {
     
     private let topScrollView:UIScrollView = UIScrollView()
     
     private let contentScrollView:UIScrollView = UIScrollView()
     
     
-    var Width:CGFloat!
-    
-    var Height:CGFloat!
+    public var Width:CGFloat!
+    
+    public var Height:CGFloat!
     
     private var titles:[String]! = []
     

        
    }
    
    func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) {
        let currentX = scrollView.contentOffset.x
        currentTabIndex = Int(currentX/Width)
        let tab = tabs[currentTabIndex]
        
        adjustTopScrollViewsContentOffsetX(tab: tab)
        UIView.animate(withDuration: 0.23) {


import Foundation
import UIKit
public protocol WormTabStripDelegate:class {
    
    //return the Number SubViews in the ViewPager
    func WTSnumberOfTab()->Int
