Settings not working with DocumentGroup

I am rewriting my app with goodies from WWDC 2022. This is for MacOS only, it is based on the Document Template from Xcode 14 beta 2.

When I try to add the Settings scene as shown below I get two errors, with or without my SettingsView referenced.

Answered by franc in 718529022

Oops! My mistake. DUH.

I had a data structure to hold the settings - it was called Settings, so duplicate name.

Change the name of the data structure and it works fine now.

Accepted Answer

Oops! My mistake. DUH.

I had a data structure to hold the settings - it was called Settings, so duplicate name.

Change the name of the data structure and it works fine now.

Settings not working with DocumentGroup
 
 
Q