Custom cell class in a UITableView with static cells

I have a UITableView with static cells in a storyboard. Static cells have their own class. I would like to connect the sockets to the cell, but it looks like this is not supported?

Posting views on the ViewController works, but is pretty dirty (there are many cells). A workaround would probably also be to tag views, but also not ideal. Any other ideas?

enter image description here

+5
source share
1 answer

You checked the custom class of this UITableViewCell. it must be the user file and subclass of the UITableviewCell that you created.

-1
source

Source: https://habr.com/ru/post/1245813/


All Articles