当前位置: 动力学知识库 > 问答 > 编程问答 >

swift - Create an outlet collection in Xcode 8

问题描述:

I'm building a macOS app using Xcode 8.3 and Swift. I have a simple view controller that contains a bunch of buttons that I'd like to put into an Outlet Collection but when I control-drag from a button to my Swift file, Outlet Collection is not presented as an option (my only options are Outlet and Action for the Connection type). Am I missing something? TIA

网友答案:

It would appear that IB Outlet Collections have never been supported for macOS projects. :-(

分享给朋友:
您可能感兴趣的文章:
随机阅读: