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

前端 未结 2 786
野的像风
野的像风 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:08

    It was definitely a bug with Xcode. Restarting Xcode solved the problem.

提交回复
热议问题