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 · 4 comments
Open

MacOS platform support? #78

OlshaMB opened this issue Feb 17, 2024 · 4 comments

Comments

@OlshaMB
Copy link
Contributor

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
Contributor 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.

@OlshaMB
Copy link
Contributor Author

OlshaMB commented Jul 6, 2024

@zenith391 How eventUserData fits into already existing backends, and how it should fit into new macOS one? I'm willing to contribute, but I'm a bit stuck with idea of eventUserData.

@geon
Copy link
Contributor

geon commented Oct 17, 2024

I've been hacking on the macos backend, implementing bits and pieces. https://github.com/capy-ui/capy/pulls/geon

Are you @zenith391 interested in contributions?

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

3 participants