J2ObjC is an open-source command-line tool from Google that translates Java source code to Objective-C for the iOS (iPhone/iPad) platform. This tool enables Java source 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 application logic and data models) in Java, which is then shared by web apps (using GWT), Android apps, and iOS apps.
This talk provides a deep dive into J2ObjC: how it is designed, what differences there are between shared code on different platforms, and some best practices for minimizing code rewriting. A quick review of a sample Xcode project will demonstrate how Java sources can be included in iOS apps.
Video producer: http://gwtcreate.com/