Dizzle
Dizzle

Reputation: 1016

What is the best practice to maximize reuse of code when targeting android and ios

What is the best practice to maximize reuse of code when targeting android and ios

For example if I wish to write an equivalent application on both Android and IOS devices what are some ways to create code which will give the most re-usability on both target platforms??

Upvotes: 0

Views: 88

Answers (1)

Alexandr Shutko
Alexandr Shutko

Reputation: 1875

There is a good example of such code sharing application: Gmail

They write ui independed code for Java and then use J2ObjC translator to convert it into Objective-C. Here is the links:

Some gmail information

Open source Java to Object-C translator

Upvotes: 1

Related Questions