Converting an Objective C code into java code
15,689
Solution 1
You can try this thing: Objc2j
Solution 2
You should try O2J - Objective-C to Java source code translator from the Mac App Store. It is a cheap and very effective way to generate native Java code from your Objective-C.
Solution 3
Checkout out apportable. It's much better than trying to convert your source code to Java. Just leave it in Objective-C and use Apportable to run your code on other platforms.
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Author by
Admin
Updated on June 22, 2022Comments
-
Admin about 2 years
Is there any tool available to convert objective C code into java ?
-
Ravindranath Akila over 10 yearsAFAIK needs a Mac. Please confirm before you go ahead with Windows!
-
Andremoniy over 10 years@RavindranathAkila It doesn't need a Mac, trust me.
-
Ravindranath Akila over 10 yearsHmmm... Even tried in Mac and failed. I noticed it can't work with GCD related code.
-
Ferran Maylinch over 7 yearsNot working... it crashes easily or produces really bad code. O2J mentioned by @Cal seems to work better.
-
Ferran Maylinch over 7 yearsThank you. It's far from perfect but gives you some code to start with. And it's the only working solution I've found so far.
-
Ferran Maylinch over 7 yearsIt looks like it's dead :(