Cryptic errors creating NSViewController Programmatically
If you’re making an NSViewController programattically, you need to set
the view. Easiest thing is to do it in loadView()
override func loadView() {
view = NSView()
}
If you’re making an NSViewController programattically, you need to set
the view. Easiest thing is to do it in loadView()
override func loadView() {
view = NSView()
}