-
Notifications
You must be signed in to change notification settings - Fork 3
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
Is Mac Catalyst support #9
Comments
I have to admit that I haven't tried it. Last time I did anything with Catalyst, which was before I wrote MacMenuBar, it was pretty insistent about hiding AppKit, which MacMenuBar depends on - after all it has to work with NSMenu and NSMenuItem on your behalf. On the other hand, Catalyst is using AppKit under the hood, and MacMenuBar would be linked as an external library, so ... maybe? I'd have to experiment with it, but I can't say definitely yes or no right now. My guess would be that it probably couldn't be used as it is. I'll have to try it, and gauge what changes might be necessary to support Catalyst. I wish I had a better immediate answer for you. |
So I just gave it a try with Catalyst, and the answer is definitely no, MacMenuBar can't be used with Catalyst, and I don't yet know what, if anything, I could do to make it compatible. I mean, I could maybe do something subversive using C as an intermediary between MacMenuBar and AppKit. That will require more experimenting, and I don't know how it would affect AppStore acceptance. |
okay. |
I was thinking to make a separate project. A React Native and macOS Catalyst project but I am not 100% sure how to work with Objective-C and func buildMenu() I now how React Native bridge work. Is this a project you would consider working together we me. |
At the moment I don't have much time to devote to it, so not immediately, though perhaps in the near future. It would be nice to make MacMenuBar support Catalyst anyway, and I suspect there's a way to hide its access to AppKit behind a library. I have some thoughts on things to try to do that. I have to confess that I've never done anything with React Native, so I wouldn't be much help out-of-the-box on that. What Objective-C do you need? While MacMenuBar uses Obj-C objects, because that's what AppKit consists of, it does so entirely from Swift. Do you mean you need Obj-C for React Native? |
I would like to know if MacMenuBar works for Catalyst builds
The text was updated successfully, but these errors were encountered: