Automated Source Code Transformation service
Calculator App is one of the initial programs developed. ReflectCode is publishing its first automatically ported calculator iOS app. This repository contains the Android source code which was used as input and generated iOS source code project.
This sample project demonstrates porting of following files -
- .png in mipmap folders
- .xml layout files
- .java code
- colors.xml
- strings.xml
File | Statement |
---|---|
Layout xml | 423 |
Java | 446 |
colors.xml | 30 |
strings.xml | 19 |
AppIcon | 50 |
XCode Project | 385 |
Total | 1335 |
Class | Members |
---|---|
AppCompatActivity | onCreate(), OnClickListenerm(), findViewById() |
Button | setOnClickListener(), getText() |
TextView | getText(), setText() |
String | toString(), equals() |
Integer | toString() |
Log | Log.e() |
String | toString(), equals() |
Integer | toString() |
Java language | if, elseif, swiftch case |
Control | Attributes |
---|---|
LinearLayout | layout_width, layout_height, layout_weight, gravity, orientation, padding |
TextView | layout_width, layout_height, text, id, hint, gravity, textSize, background, textColor |
Button | layout_width, layout_height, layout_weight, id, text, textSize |
Screen shot of Android and iOS devices -
This project is made available under the MIT license. See the LICENSE file for more details.