Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevwan/j2objc
https://github.com/kevwan/j2objc
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kevwan/j2objc
- Owner: kevwan
- License: apache-2.0
- Created: 2014-12-04T09:54:20.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-29T05:31:37.000Z (almost 10 years ago)
- Last Synced: 2024-04-17T14:28:16.881Z (7 months ago)
- Language: Java
- Size: 24.9 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# J2ObjC: Java to Objective-C Translator and Runtime #
**Project site:**
**J2ObjC blog:**
**Questions and discussion:**### What J2ObjC Is ###
J2ObjC is an open-source command-line tool from Google that translates
Java code to Objective-C for the iOS (iPhone/iPad) platform. This tool
enables Java code to be part of an iOS application's build, as no editing
of the generated files is necessary. The goal is to write an app's non-UI
code (such as data access, or application logic) in Java, which is then
shared by web apps (using GWT), Android apps, and iOS apps.J2ObjC supports most Java language and runtime features required by
client-side application developers, including exceptions, inner and
anonymous classes, generic types, threads and reflection. JUnit test
translation and execution is also supported.J2ObjC is currently between alpha and beta quality. Several Google projects
rely on it, but when new projects first start working with it, they usually
find new bugs to be fixed.### What J2ObjC isn't ###
J2ObjC does not provide any sort of platform-independent UI toolkit, nor are
there any plans to do so in the future. We believe that iOS UI code needs to
be written in Objective-C or Objective-C++ using Apple's iOS SDK (Android UIs
using Android's API, web app UIs using GWT, etc.).## Requirements ##
* JDK 1.7 or higher
* Xcode 5 or higher
* Mac OS X 10.9 or higher## License ##
This library is distributed under the Apache 2.0 license found in the
[LICENSE](./LICENSE) file.