     func selectSegment(segment: SMSegment)
 }
 
-class SMSegment: UIView {
+public class SMSegment: UIView {
     
     weak var delegate: SMSegmentDelegate?
     

    }
    
    // MARK: Handle touch
    override func touchesBegan(touches: Set<NSObject>, withEvent event: UIEvent) {
        super.touchesBegan(touches, withEvent: event)
        
        if self.isSelected == false {

    }
    
    // UI Elements
    override public var frame: CGRect {
        didSet {
            self.resetContentFrame()
        }
