gpt4 book ai didi

ios - IBOutlet 未连接到 uitableviewcell

转载 作者:行者123 更新时间:2023-11-29 13:44:38 25 4
gpt4 key购买 nike

我的界面中有一个 UITableView 和一个 UITableViewCell。现在,我尝试在我的类(class)中为 UITableViewCell 创建一个导出,并以任何人都会使用的正常方式将其连接到界面。当我运行它时,它失败并给出无法编译连接的错误:

ibcocoatouchoutletconnection : 87q50w485w < IBProxyObject : 9u7-25whnsk> => UIViewTableViewCell => <IBUIViewTableCell>, where uiViewTableCell is the name for my IBoutlet.

我已经坚持了一段时间,所以任何帮助将不胜感激。对于此错误也几乎没有任何在线帮助。

最佳答案

您是否这样声明您的属性(property):

@property (nonatomic, retain) IBOutlet UITableViewCell *myTableViewCell

看起来您正在像 IBUIViewTableCell 那样声明它。

关于ios - IBOutlet 未连接到 uitableviewcell,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7929655/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com