I’m trying to implement a custom UITableView cell as the prototype for a tableview. So I make a custom class called CustomCell and set the class in the protoype cell from UITableViewCell to CustomCell, but I’m not sure how to connect my UI elements inside the prototype cell to their corresponding Outlets inside CustomCell (because custom cell isn’t a view controller).
I’m trying to implement a custom UITableView cell as the prototype for a tableview.
Share
It doesn’t matter that custom cell isn’t a view controller, you can ctrl-drag and drop your outlets in exactly the same way from the view elements in Interface Builder to your CustomCell.h file.