Skip to content

loadView() override needed if no interface builder #74

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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