I am using M13Checkbox, and you can look at the Github page here. In my table view function, I assign a M13 Checkbox to each cell's checkbox variable. The variable looks like this var checkbox = M13Checkbox() in my custom cell class.
This is what the code where I define the checkbox inside the table view looks:
cell.checkbox = M13Checkbox(frame: CGRect(x: 15.0, y: (cell.center.y)-22.0, width: 20.0, height:20.0))
view.addSubview(cell.checkbox)
My question is how do I have an action occur when a user presses a checkbox? I want another view or a popover to come up when a checkbox is clicked. Is that possible with the way I have it set up? What code do I need to add?
