Skip to content

loadView() override needed if no interface builder #74

@gaborcsardi

Description

@gaborcsardi

Thanks for the great project! Just wanted to mention that AFAICT if you are not using interface builder, then you need to write loadView() manually in the controllers, otherwise you get a crash:

  override func loadView() {
    self.view = NSView()
  }

If this is correct, then maybe it is worth mentioning in the README.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions