Post

Replies

Boosts

Views

Activity

WindowGroup bug??? Can't maximize window after minimizing
I've been playing around with SwiftUI for macOS 11 Big Sur (Beta 5 as of right now) and got pretty far with (almost) vanilla SwiftUI. Though, it seems like impossible for me to figure out how to manage windows... When I minimize my only Scene/Window, I can click on the App Icon as often as I want, the window won't maximize. It is, though, accessible through'Right-click App Icon' & 'Show all windows'. How can I change that? My App doesn't need multiple windows & therefore shouldn't allow them (including CMD+N), so the user doesn't get confused. Is there a way yet in SwiftUI to change that behavior, that 'comes for free with WindowGroup'... GREAT! :D I use a sidebar. Most of the 2nd levels views don't require a 3rd level view. One does. So, I created a HSplitView inside one of the 2nd level views. I created a 2nd List {} inside the HSplitView & a detail view (like in the Mail App) right next to it. Selecting & everything works fine... Except: When I tab out of the App Window (to Safari or whatever), the Sidebar forever disappears... No way of getting it back... trust me, I've tried. But it reappears when I open a new window, thanks to point 2 :D That literally seems like a legit bug to me or am I mistaken? Thanks for everyone who replies! Maybe I am just stupid, after all :D
2
0
1k
Aug ’20