Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
上面的屏幕截图显示了我的视图控制器的助手编辑器。
我想IBOutletCollection为“艺术家”标签制作一个并将它们链接到特定标题,但我无法这样做。
IBOutletCollection
在 swift 中使用 IBOutletCollection 的等价物,如下所示:
@IBOutlet var labelsArray:[UILabel]?
将所有标签连接到上述属性。