Storyboard doesn't contain a controller with identifier 'MainWindow'

前端 未结 2 787
野的像风
野的像风 2021-01-12 01:17

I am trying to instantiate an NSWindowController from a storyboard in my OS X app:

NSWindowController *mainWindowController = [[NSStoryboard story

2条回答
  •  一整个雨季
    2021-01-12 02:00

    Confirmed in 11.3. This is such a time-waster, together with this one:

    How do I open another window in macOS in Swift with Cocoa

提交回复
热议问题