Repository navigation
Fix the bugs of setting view and change to swift lifecycle - #148
underthestars-zhy wants to merge 8 commits into
Conversation
There was a problem hiding this comment.
The system status bar is gone now (see screenshot)
also make sure to resolve SwiftLint warnings as stated in contribution guidelines.
And also don't include a Team ID on commits
|
Fixed the problem that menus doesn't show |
At the very beginning of the project, I made transition from SwiftUI lifecycle to AppKit's Also, we are using AppKit's way (via Mixing SwiftUI lifecycle and AppKit's |
This is a problem. But we can fix it. Also swiftui code is more readable. |
|
Also I can use keyboard shortcut to close the window |
CleanShot.2022-03-21.at.21.05.14.mp4 |
|
Since our workflow is treating warnings as errors ( |
|
@pkasila will have a detailed look at it later today. |
But you can see the space in apple’s file |
|
Look, we have rules and if you don't want to follow them you can file a new Issue where changes can be discussed. If your code does not pass the checks we cannot merge it as unmistakably stated in our contribution guidlines. |
pkasila
left a comment
There was a problem hiding this comment.
Use AppDelegate instead of mixing SwiftUI lifecycle and AppDelegate.
As I stated before, I don't think that mixing SwiftUI lifecycle with AppDelegate is good. The main problem is that Preferences tab can be implemented by using NSToolbar, window.toolbarStyle = .preference and NSTabViewController inside. Alternatively, it can be implemented by using Preferences package.
So, there is no need in mixing SwiftUI lifecycle and AppKit's way with AppDelegate. Especially, if we need make workarounds to make it work correctly like changing MainMenu after it has been changed by SwiftUI lifecycle.




Description
Releated Issue
#146
Screenshots (if appropriate):