Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shannah/java-objective-c-bridge
A thin bridge that allows for two-way communication from Java to Objective-C.
https://github.com/shannah/java-objective-c-bridge
Last synced: 5 days ago
JSON representation
A thin bridge that allows for two-way communication from Java to Objective-C.
- Host: GitHub
- URL: https://github.com/shannah/java-objective-c-bridge
- Owner: shannah
- Created: 2012-10-29T18:16:18.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2022-06-14T16:14:13.000Z (over 2 years ago)
- Last Synced: 2024-12-17T02:02:11.192Z (6 days ago)
- Language: Java
- Size: 2.02 MB
- Stars: 125
- Watchers: 16
- Forks: 25
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Java-Objective-C-Bridge
## Synopsis
A thin bridge that allows for two-way communication from Java to Objective-C.
## License
[Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0.html)
## Requirements
1. Java 11 or Higher on OS X
2. JNA## Getting Started
Add the following dependency to your pom.xml:
```xml
ca.weblite
java-objc-bridge
1.2
```### Working with Sources
1. Check out the project and use `mvn clean install` (for debug builds) or `mvn clean install -Drelease=true` (for release builds) to build it
2. Include it as a Maven depencency in your project:
```xml
ca.weblite
java-objc-bridge
1.3-SNAPSHOT
```## Examples
* [Sample wrapper of NSOpenPanel and NSSavePanel](https://gist.github.com/shannah/65007754c2b0f8add4f7)
* [Example using WebKit and .nib file](src/test/java/ca/weblite/objc/TestWebView.java)
* [Loading Nib File](src/test/java/ca/weblite/objc/LoadNibSample.java)
* [Wrapper for NSProcessInfo to Solve App Nap Problem](src/test/java/ca/weblite/objc/NSProcessInfoUtils.java)## JavaDocs & Documentation
* [Documentation](https://solutions.weblite.ca/maven/java-objc-bridge/apidocs/index.html)
* Read a [blog post](https://sjhannah.com/blog/2012/10/29/speaking-cocoa-from-java/) about the motivation for this project.## Contact
* Post your questions in the [Java-Objective-C Google Group](https://groups.google.com/forum/#!forum/java-objective-c-bridge)
* Post bugs and feature requests to the [issue tracker](https://github.com/shannah/Java-Objective-C-Bridge/issues)## Credits
Created by [Steve Hannah](https://sjhannah.com)