UISwitch inside custom UITableViewCell not available
问题 I have a UISwitch inside a custom UITableViewCell (the subclass of which I call RootLabeledSwitchTableCell ). The cell contains a UILabel and UISwitch next to each other. I have a @property called keychainSwitch that points to the switch inside this custom cell: @interface RootLabeledSwitchTableCell : UITableViewCell { IBOutlet UILabel *textLabel; IBOutlet UISwitch *labeledSwitch; } @property (nonatomic, retain) IBOutlet UILabel *textLabel; @property (nonatomic, retain) IBOutlet UISwitch