How to rewrite Android (Java) program to an equivalent Swift code and run it on iOS | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to rewrite Android (Java) program to an equivalent Swift code and run it on iOS

25th Nov 2017, 12:24 PM
Johnnie 🎩
Johnnie 🎩 - avatar
3 Answers
+ 2
swift syntax is similar to Java, but maybe it have difference method. iOs and Android have a difference sdk, that mean the API will be difference, you should learn both of them, porting it is not easy.
25th Nov 2017, 12:26 PM
Momo Belia
Momo Belia - avatar
+ 1
to switch a code from one language to another you must : _ know the language of the source code well _understand the algorithm of the program _understand the language u want to covert the code to
25th Nov 2017, 1:25 PM
Rabee Abbas
Rabee Abbas - avatar
+ 1
Know your codes architecture and control flow, as well as the constructs in either language that will get you there.
25th Nov 2017, 3:32 PM
Ed Salter