-
Notifications
You must be signed in to change notification settings - Fork 25
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
Map basic objects like NSRect #7
Comments
Struct parameters are not well supported right now. I'd like to add support for them, but currently it isn't on my radar. Handling shortcomings like this, I usually handle by writing a small library in Objective-C that wraps the things I need, in a way that is easier for the bridge to work with. Then call that wrapper via the Objective-C bridge. |
Well for now I copied some files from rococoa and adapted them a bit. It seems to work quite well. |
Do you use the rococoa stuff in conjunction with the objective-c bridge (this library), or on its own? e.g. is there any thing you can share that might help others facing the same issue? |
This is what I'm currently working on: https://github.com/mojo2012/kakao |
I'm trying to show a simple empty window on screen - but right now I'm totally stuck calling
NSWindow.initWithContentRect:styleMask:backing:defer:
. I think the problem is my NSRect implementation:I have no clue what goes wrong here, but this is the stack:
It would be nice to have basic types already mapped!
Furthermore, it would be awesome to have better logging in case something goes wrong, like what are the selector arguments that were passed (on the objc-side).
Thanks for any help.
The text was updated successfully, but these errors were encountered: