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.
我正在尝试制作一个由标签和按钮组成的 Outlet 集合。我在想我可以做这样的事情@IBOutlet var basicCollection: [Any]!似乎行不通。任何想法都会很棒。
@IBOutlet var basicCollection: [Any]!
尝试
@IBOutlet var basicCollection: [UIView]!
为我工作。