Hacker News new | past | comments | ask | show | jobs | submit login

If you only have trivial business logic, then yes, no benefit. But you can create common libraries that interface with native Cocoa frameworks.

Google's new Inbox by Gmail was delivered on three platforms simultaneously. It was not written from scratch 3 times.




> It was not written from scratch 3 times.

No, but did it also use java translation? That would involve writing wrappers for many of the native libraries. They would also have to do View/Controllers in objective-c (or some equivalent translator). And finally, they would have to special-case operating systems everywhere. This framework would not at all suffice to do multi-platform development; xamarin, robovm, cordova, and titanium all get much closer to this goal.


Is there any way to use this to write the entire data handling layer ?


My guess is you'd write j2objc wrappers around sqlite and HTTPUrlConnection/NSURLConnection and expose API for business logic elements.

edit: here is an example: https://groups.google.com/forum/#!topic/j2objc-discuss/8u2Si...




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: