如何将故事板的插座连接到 UITableViewCell 类 Xcode 11 [英] How to connect outlet from storyboard to UITableViewCell class Xcode 11

查看:30
本文介绍了如何将故事板的插座连接到 UITableViewCell 类 Xcode 11的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何将插座与故事板中的表格视图自定义单元格类连接起来?在早期的 Xcode 中,有一个按钮可以在故事板屏幕中打开两个窗口,但在新的 Xcode 中该按钮丢失了.请指导如何实现该功能.

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),然后在右边出现的面板中选择文件(2),图片中的步骤1和2,然后就可以连接了一如既往的出口;)

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 ;)

这篇关于如何将故事板的插座连接到 UITableViewCell 类 Xcode 11的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆