     
     // MARK: -- UIButton
     
-    override func titleColorForState(state:UIControlState) -> UIColor{
+    override public func titleColorForState(state:UIControlState) -> UIColor{
         if (state == UIControlState.Selected || state == UIControlState.Highlighted){
             var selectedOrHighlightedColor:UIColor!
             if (state == UIControlState.Selected) {

        self.selected = false
    }
    
    override func prepareForInterfaceBuilder () {
        self.initRadioButton()
        self.drawButton()
    }

import UIKit

@IBDesignable
public class  ISRadioButton: UIButton {
    
    var indexPath:NSIndexPath!
    
