|
|
|
|
|
by funkybro
4155 days ago
|
|
Why do you care if the generated objC is "hacky"? Correctness and performance is all that matters surely? I've stuck to using GWT generated JS in a hidden webview on iOS, rather than J2ObjC. I've found the process of compiling code on J2ObjC to be difficult and laborious. It may have improved but on initial investigation I ended up hacking a script to try and generate the correct command line for my project. Not to mention downloading and unpacking each library jar by hand. GWT on the other hand integrates easily with Maven, pulls in all your dependencies and filters out unused methods. Additionally, the code can be run anywhere else JS is available, in our case Windows Phone and Xbox One. |
|