How to create a UITableViewCell with a UISwitch and get the data?
I have a simple problem. I created a custom UITableViewCell that includes a UISwitch in Interface Builder. Question 1: Easier, better way to do it ? Question 2: When used in an UITableViewController, what would be the best way to get the data ? At some point I either need to go through the table and check every cell about the status OR send some feedback when the status of the switches changes directly ? Thanks for the help. You could just add the UISwitch in your accessory view. That is the easiest way to do it, not to mention that it looks 'elegant'. Then, in your tableview controller code,