![]() ![]() J2ObjC makes a number of steps in generating Objective-C code: Generated code can be profiled, tested and analyzed with Xcode Instruments, like any other iOS app. The generated code uses the iOS Foundation Framework and can be integrated with Xcode either via an external build project with a separate makefile, or by adding a build rule to an existing project. While server code could theoretically be translated, J2ObjC currently supports only client-side development. The tool does not generate iOS UI code because its authors believe that “the only way to get a world-class, fast iOS UI is to write it in Objective-C using Apple's iOS SDK frameworks,” and due to intricacies dealing with such code. J2ObjC solves part of the problem being able to convert business logic Java code into its corresponding Object-C/C++ source code that does not require editing in order to be used. While web client apps based on GWT can share non-UI code with Android apps, the same apps had to be rewritten for iOS from scratch. Google has open sourced J2ObjC, a transpiler converting Java source code to Objective-C/C++ source code for the iOS platform.Īccording to the J2ObjC’s wiki, the project was started out of frustration dealing with different code bases for web, Android and iOS applications. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |