<分区>
我可以在 Xcode 项目 (iPhone/iPad) 中使用 .java
文件中的方法吗?
标签 java iphone objective-c ios ipad
<分区>
我可以在 Xcode 项目 (iPhone/iPad) 中使用 .java
文件中的方法吗?
最佳答案
查看 J2ObjC将 Java 翻译成 ObjC!
J2ObjC is an open-source command-line tool from Google that translates Java code to Objective-C for the iOS (iPhone/iPad) platform. This tool 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 app's non-UI code (such as data access, or application logic) in Java, which is then shared by web apps (using GWT), Android apps, and iOS apps.
关于java - 我可以在 Xcode 项目中使用 .java 文件中的方法吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12407546/