Show HN: Objective-C to Swift or to Java Instant Code Block Converter
apps.myappconverter.com
apps.myappconverter.com
NSMutableArray array=NSMutableArray.arrayarray(); CGFloat distance = sqrtf((clickPoint.x-charPos.x)*(clickPoint.x-charPos.x)+
(clickPoint.y-charPos.y)*(clickPoint.y-charPos.y));
And got this in Swift: var distance:CGFloat = sqrtf((*((clickPoint.y-charPos.y)*()
Most of the code I put in converted to Swift correctly (though it wasn't efficient Swift code) but the above line was just plain wrong. So, it still seems a little buggy but it is a good idea. Like you pointed out, it is only useful for Objective-C to Swift since the Foundation framework is not available in Android.Our mapping technology : https://docs.myappconverter.com/mapping_tech/ios2android/
iOS project converion : https://apps.myappconverter.com/users/sign_up
The code block converter is just a free tool, which is part of bigger platform called MyAppConverter.
We've built MyAppConverter as an instant and automatic native to native code conversion platform that helps achieve our goal. Our technology is based on semantic code transformation and model driven engineering.
By the way, the entire platform is free to use as a self-service and we currently support Objective-C to Java (Android) and to Swift.
Feedback much welcome.
Are you doing purely language-based conversion or platform API conversion as well? For example, UITableView -> ListView
For more information about mapping technology: https://docs.myappconverter.com/
Guidelines: https://news.ycombinator.com/showhn.html