79170572

Date: 2024-11-08 15:15:08
Score: 2.5
Natty:
Report link

The solution is to use contentView instead of contentViewController.

Use:

onboardWindow?.contentView = NSHostingView(rootView: contentView)

Instead of:

onboardWindow?.contentViewController = NSHostingController(rootView: contentView)

I don't know why it broke. If somebody knows, please let me know.

Reasons:
  • Whitelisted phrase (-1): solution is
  • RegEx Blacklisted phrase (2.5): please let me know
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Vojta Böhm