-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is a great library, when will it support MacOS #4
Comments
This is a great idea, let's discuss it further:
do you mean introducing #if os(macOS)
import AppKit
#else
import UIKit
#endif |
Ok, one of my open source software written with Swiftui uses SwiftyJSON to format JSON, but there is no highlighting. I am a beginner Apple developer, so I don't know whether such integration is possible in Swiftui, thank you very much |
Then what you need should be support for both SwiftUI and macOS. But unfortunately I know very little about both, especially SwiftUI... I noticed that It allows applications built on iOS to run on macOS. Only a few code changes are required, such as support for keyboard shortcuts. Since you're using SwiftUI, it shouldn't be difficult to switch your existing code to the iOS platform either. The future As for support for macOS, that's not in my plans for now. Thanks to wrapping, there isn't a lot of logic scattered throughout the Or maybe someone who sees this issue can provide a PR to help make it better. I'd appreciate it. |
Okay, thank you very much, I will try |
This is a great library, when will it support MacOS
The text was updated successfully, but these errors were encountered: