Linked by Thom Holwerda on Thu 13th Sep 2012 21:44 UTC
General Development "We are proud to announce the open source release of J2ObjC, a Google-authored translator that converts Java source code into Objective-C source for iPhone/iPad applications. J2ObjC 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 application's non-UI code (such as data access, or application logic) in Java, which can then be shared by Android apps, web apps (using GWT), and iOS." Huh.
Thread beginning with comment 535070
To read all comments associated with this story, please click here.
Very cool
by pmac on Fri 14th Sep 2012 15:53 UTC
pmac
Member since:
2009-07-08

Very cool, but your data access layer would have to be self-written/managed on both platforms. It's obviously not going to translate the Android content provider API, and I don't see how it could work with iOS' CoreData, so you'd have to manually do your DB data reading/writing code, right? That sounds like you'd end up with a horrible Frankenstein app, but I don't know. If Google is using it on some of its iOS apps (would love to know which), there must be a way to do that better.

For projects without huge resources, it sounds great. But ideally you'd write each app from scratch. I have no idea why Google would be using this itself.

And for all the people talking about MonoTouch: hahahahahaha.

Edited 2012-09-14 15:58 UTC

Reply Score: 1