For anyone who's had to convert Objective-C to Swift, this tool is a welcome breeze. From my early trials and what others have said, it does a fairly good job. Of course, with Swift changing so fast, the question is whether this converter will stay relevant. Here's hoping it does!
Hey Ali, love the convertor, seems to work great! Was wondering when I'd choose to use this over Xcode's "Convert to Latest Swift Syntax". Does it use a different scheme to convert the code? The website is a little sparse on details
@andrew_breck XCode is only capable of converting code from old (outdated) version of Swift to a new one.
It has never had an ability to convert Objective-C code to Swift (although we do plan to integrate our tool with XCode in future).
What a fantastic tool, thanks for making this!
Are there any plans to build a reverse converter that takes Swift to Objective-C? It would be incredibly helpful to many developers I know (including me) who aren't very adapt at Swift but would love to use the new Swift repos popping up everyday.
@sebastianbo91 Converting entire project is always a challenge.
We're working hard to minimize the number of issues, and yes - there are a lot of ongoing changes due to preparations to the Swift 3 release.
I've reviewed your project and released an update to our converter, with more than half of your issues automatically solved :)
@karthik2502 It have been difficult to begin from scratch, but now the development is going on very smoothly! Adopting to Apple's changes to Swift is unavoidable, but such relatively small modifications are usually easy to knock off.
A reverse (Swift to Objective-C) converter will definitely follow.
As soon as we have a full feature set (including conversion of full XCode project),
we’ll be working on the reverse converter.
We are happy to announce major update to Swiftify (https://www.objectivec2swift.com).
From now on, you can convert full files and even XCode projects!
The following features are now supported:
• Join .h and .m files into .swift file(s);
• Merge declarations and implementations of classes, methods and properties;
• Convert XCode project file (by replacing .h and .m file references with converted .swift file references).
Thanks to all members of our community that the tool has evolved over years.
Now we have a fully featured Offline version including Xcode, Finder extensions and a fully featured macOS IDE for gradual conversion of Objective-C projects to Swift:
https://www.producthunt.com/post...
The Design of Influence: How to Craft Products that Move People