Hi Sarah,
@SceneStorage is not working for me either.
When my version didn’t work, I built the Challenge folder project from the downloaded materials. I ran the app, resized the Event grid window, created a new window and chose Deaths and Table and resized it. Both windows are listed in the Window menu. Then I quit the app, Control-Q, and reran it from Xcode. I just get a single events window, grid view, but with the D and T new size and location. Same after I cleaned the build folder and rebuilt. The Window menu lists a single window.
Then I used a single window, resized, picked deaths and table, quit, and reran, and I get an events grid, not a death table, with the new size. The Window menu lists a single window.
Then I told my Mac to keep the OnThisDay app in the dock and tried again quitting and rerunning from there instead of Xcode. It remembers the size and location of a single window, but not grid vs table selection nor the sidebar selection. If I get a second window with File → New Window, adjust, quit, and rerun from the dock. I get a single event grid window sized and positioned as the second window above.
Only console messages, which I always get, seems unrelated:
2022-05-01 10:58:19.709062-0500 OnThisDay[33810:1194206] [logging] volume does not support data protection, stripping SQLITE_OPEN_FILEPROTECTION_ flags*
I suspect some strange preference or security setting on my iMac, but have no clues…
Xcode 13.3.1; macOS 12.3.1; iMac (Retina 4K, 21.5-inch, 2017)
-Steve