Join us at TNW Conference 2022 for insights into the future of tech →

The heart of tech

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
    Nate Swanner
    Story by

    Nate Swanner

    Former Reporter, TNW

    TNW's former West Coast writer in the PNW (Portland, Oregon). Nate loves amplifying developers, and codes in Swift when he's not writing. If TNW's former West Coast writer in the PNW (Portland, Oregon). Nate loves amplifying developers, and codes in Swift when he's not writing. If you need to get in touch, Twitter is your best bet.

    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