gpt4 book ai didi

uitableview - iPhone : Is there a way to loadFromNib AND have a reuseIdentifier?

转载 作者:行者123 更新时间:2023-12-03 18:00:19 27 4
gpt4 key购买 nike

我现在考虑这个问题很长时间了。

我尝试在我的表格中使用不同类型的单元格,每个单元格都有自己的单元格 Controller ,并有一个重用标识符和来自 NIB 的负载。

问题归结为:您可以通过
[UITableViewCell initWithStyle:reuseIdentifier:] 或通过 [NSBundle loadNibNamed:owner:options:]。

我是否忽略了某些东西,或者是否有可能同时拥有:从 Nib 加载并使用重用标识符?

最佳答案

提出问题有时可以引导您走上正轨:我

答案可以在这里找到:https://discussions.apple.com/thread/1664267?threadID=1664267

关于uitableview - iPhone : Is there a way to loadFromNib AND have a reuseIdentifier?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1769338/

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