If you need to have a Tab Bar similar (Work in Progress) to Safari here is the beginning of it.
Pull Requests are welcome — this is very much a work in Progress.
Replace the DateView
obviously with your content, and use a bit more than just a Date
in your Model. 😂
Because onHover
is broken in MacCatalyst, for the moment, I'm using onHover2
— Thanks @paulcolton!
Also you can see how KeyCommands
are implemented for iOS & MacCatalyst, since ⌘T
and ⌘W
work both on iPad and Mac.
Finally, after a very nice discussion with @nhawk I found this Thread on StackOverflow about the built-in UIWindowScene
support for Tabs, which is very limited.