[UI] Early SwiftUI drafts #1
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-SvenGDK/PS-Mac-Tools#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm excited to see a version of PS-Tools for Mac, but the current iteration of the UI where different windows open up for each console could be improved.
I was messing around with creating a macOS app using SwiftUI and would like to get a bit of feedback.
Generally for SwiftUI apps on macOS you'd use
NavigationSplitViewto make either a two-or-three column app, with the first column being a hide-able sidebar. There is also a toolbar at the top that can be customised for each view (also hide-able, but could be useful).Here is an example of the two-column view, which I'm thinking might be a good option:



The sidebar can be hidden, so I've added keyboard commands to navigate to the appropriate console:


Clicking on the PlayStation logo in the toolbar will bring the user back to the main screen. Regarding use of the logo, this is an SF Symbol and can be used as long as it only refers to Sony's PlayStation:
The issue with two-column style is that the tab views, especially for PS5, could get quite crowded, so I tried out a three-column view:

The advantage of this is that you could have as many tools as needed in the second column. However, personally speaking I'm not a fan of the three-column view here... (I'm also having trouble hiding the second column on the main screen but that's probably my own fault).
Anyway, I should check here if you're interested in the code for this, and if you'd like me to continue and finish off all the views.