将 Java 转换为 iOS
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13308404/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Converting Java to iOS
提问by boita
Is there any library that can be used to convert Android java code to iOS ? Please if more than one enumerate the advantages.
是否有任何库可用于将 Android java 代码转换为 iOS?如果不止一个,请列举优点。
回答by Durai Amuthan.H
There are two nice tools available which will be useful for those who work on both Android as well as iOs
有两个不错的工具可供使用,它们对同时使用 Android 和 iO 的人都很有用
Java to Objective c converterclick hereto visit.
Java to Objective c 转换器点击这里访问。
Objective c to Java converterclick hereto visit.
Objective c 到 Java 的转换器点击 这里访问。
回答by tkanzakic
check this project from Google http://google-opensource.blogspot.com.es/2012/09/j2objc-java-to-ios-objective-c.html, this is the only one that I here about. I make a few test a time ago and the result was not so good.
从 Google http://google-opensource.blogspot.com.es/2012/09/j2objc-java-to-ios-objective-c.html检查这个项目,这是我在这里唯一的一个。我前段时间做了一些测试,结果不太好。
回答by Shamsudheen TK
use J2ObjC
使用J2ObjC
The open-source tool, which automatically converts Java source code into the Objective-C language that is used in native iPhone and iPad apps
开源工具,可自动将 Java 源代码转换为在本机 iPhone 和 iPad 应用程序中使用的 Objective-C 语言