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.

Ever been to a tech festival?

TNW Conference won best European Event 2016 for our festival vibe. See what's in store for 2017.

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

Read next: India may have eased up on its porn ban, but it won't be easy for ISPs to unblock sites

Here's some more distraction

Comments