Skip to content
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

MacOS platform support? #78

Open
OlshaMB opened this issue Feb 17, 2024 · 2 comments
Open

MacOS platform support? #78

OlshaMB opened this issue Feb 17, 2024 · 2 comments

Comments

@OlshaMB
Copy link

OlshaMB commented Feb 17, 2024

currently macos backend only creates window object and doesn't show the window(because macos requires NSApplication run), also it doesn't support any widgets. And the cpu usage at 99 %. So it literally impossible to go beyond a running app without the window

I am willing to contribute.

@OlshaMB
Copy link
Author

OlshaMB commented Feb 17, 2024

Also is there any reason why capy ui is not using libraries for obj-c(zig-objc, mach-objc)? Can I use them to implement better support for macos?

@zenith391
Copy link
Member

zenith391 commented May 4, 2024

I've now made the necessary groundwork for macOS to be supported, that is, now the Objective-C runtime can be used (I chose to use zig-objc), the event loop works, and the window is shown. All that's left to do is implementing the widgets. I'll do it later sometime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants