How to connect outlet from storyboard to UITableViewCell class Xcode 11

六月ゝ 毕业季﹏ 提交于 2020-02-03 04:12:32

问题


How can we connect outlet with the table view custom cell class in storyboard? As in earlier Xcodes, there is a button to open two windows in storyboard screen but in new Xcode that button is missing. Please guide how to achieve that functionality.


回答1:


Click here (1), and then select the file in the right panel that appears (2), step 1 and 2 in the image, then you can connect outlet as always ;)




回答2:


Here you have how to open the tab to drag the outlets from the view to the viewController in Xcode11



Here you have the result

Hope it helps.



来源:https://stackoverflow.com/questions/58093167/how-to-connect-outlet-from-storyboard-to-uitableviewcell-class-xcode-11

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!