You won't want to miss out on the world-class speakers at TNW Conference this year 🎟 Book your 2 for 1 tickets now! This offer ends on April 22 →

This article was published on August 5, 2015

ObjectiveC2Swift will help you translate your tired Objective C code to Swift


ObjectiveC2Swift will help you translate your tired Objective C code to Swift

Objective C’s time in the limelight is coming to an end. As Apple slowly phases its legacy iOS and OS X coding language out in favor of Swift, developers are transitioning as well. A new web-based tool, ObjectiveC2Swift, will help you port your legacy code to Swift.

It’s a simple translator, but a handy one for those that are behind on transitioning to Swift. If your Objective C code will compile in Xcode, the tool should be able to translate it for you.

If you’ve got code that won’t compile, it also won’t translate with ObjectiveC2Swift. You won’t be using this to solve your Stack Overflow questions, unfortunately.

It’s already a fun little tool, and the creator, Alex Petuschak, mentioned in a Product Hunt comment that he planned to integrate the tool with Xcode in the future. I’m not sure how that might happen (CocoaPod?), but it’s a welcome tool all iOS and OS X developers should familiarize themselves with.

➤ ObjectiveC2Swift

Read next: The Lyft iOS app is now written entirely in Swift

Get the TNW newsletter

Get the most important tech news in your inbox each week.