A thin bridge that allows for two-way communication from Java to Objective-C.
- Java 11 or Higher on OS X
- JNA
Add the following dependency to your pom.xml:
<dependency>
<groupId>ca.weblite</groupId>
<artifactId>java-objc-bridge</artifactId>
<version>1.2</version>
</dependency>
- Check out the project and use
mvn clean install
(for debug builds) ormvn clean install -Drelease=true
(for release builds) to build it - Include it as a Maven depencency in your project:
<dependency> <groupId>ca.weblite</groupId> <artifactId>java-objc-bridge</artifactId> <version>1.3-SNAPSHOT</version> </dependency>
- Sample wrapper of NSOpenPanel and NSSavePanel
- Example using WebKit and .nib file
- Loading Nib File
- Wrapper for NSProcessInfo to Solve App Nap Problem
- Documentation
- Read a blog post about the motivation for this project.
- Post your questions in the Java-Objective-C Google Group
- Post bugs and feature requests to the issue tracker
Created by Steve Hannah