问题描述:

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. :-(

相关阅读:
Top