3 ms·
How so? Looks like an opportunity to have some common code between the two platforms to me. Write your view layers twice. If you have a large amount of busine
by stusmall 14y ago
How so? Looks like an opportunity to have some common code between the two platforms to me. Write your view layers twice. If you have a large amount of business logic write it once in Java and then part of the build or checkout process for iOS can be to translate this code to objective-c.
I've recently been diving into mobile dev and the short list of good options on having a common code base between the platforms seems so strange to me.
- cromwellian 14y agoActually common code on 4 platforms. We share Java code between the server, the web (via GWT), Android (already runs Java natively), and now iOS (via j2objc). That's basically the reason for this. We have huge amounts of Java libraries, and we want to create and ship out features on 3 platforms simultaneously. Not having to write, say, an Operational Transform library 3 different times (JS, Java, and Objective-C) and keep them constantly in sync will go a long way.