     private var label: UILabel = UILabel()
     private var labelWidth: CGFloat = 0.0
     
-    required init(coder aDecoder: NSCoder) {
+    required public init(coder aDecoder: NSCoder) {
         fatalError("init(coder:) has not been implemented")
     }
     

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

    func selectSegment(segment: SMSegment)
}

public class SMSegment: UIView {
    
    weak var delegate: SMSegmentDelegate?
    
