Rococoa is a generic Java binding to the Mac Objective-C object system. It allows the creation and use of Objective-C objects in Java, and the implementation of Objective-C interfaces in Java.
- https://github.com/umjammer/rococoa/packages/
- this project uses github packages. add a personal access token to
~/.m2/settings.xml
- see https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry
- Basics
- CIFilter Java2D BufferedImageOp
- CoreML
- iTunes Library
- AudioUnit Java MIDI SPI synthesizer
- CoreMidi Java MIDI SPI
- NSSpeechSynthesizer Java Speech API
- HEIF Java ImageIO SPI
- MTLibrary
- KeyChain Java crypto Keystore SPI
- Vision Detecting Human Body Poses in Images
- obj-c class's method call with float argument doesn't work
- block
- NSUrl tags (wip)
- block (wip)
CIFilter(done)cglib
is mostly suspendedcglib
recommends ByteBuddy that is based onasm
same as thecglib
- https://github.com/ibinti/bugvm
- https://gitlab.com/axet/apple
- https://github.com/cbyrneee/JNApple
- https://github.com/multi-os-engine/moe-mac-core
- https://github.com/dthommes/jcocoa
- https://github.com/allertonm/Couverjure
- https://github.com/shannah/Java-Objective-C-Bridge
Rococoa is very much work in progress. Much is subject to change. A lot isn't good enough not to change. But given the recent deprecation of the Java-Cocoa bridge, it's the best I've got. Just mind your head. And please give feedback
Oh, one big warning. Rococoa on PPC passes all but one of its tests, but that shows that it has an issue returning longs from Objective-C methods. Please do try it on PPC, and let me know any other problems.