Hacker News new | past | comments | ask | show | jobs | submit login

This article points to the Lyft article where they also claim that rewriting in Swift reduced their code base:

"Over the years, the original version of Lyft had ballooned to 75,000 lines of code. By the time the company was done recreating it in Swift, they had something that performed the same tasks in less than a third of that."

If you're interested in learning Swift, I have a small project where I collect all good Swift urls that I find:

http://www.h4labs.com/dev/ios/swift.html

Also, note that it's easy to start using Swift in existing Objective C code without needing to rewrite. It takes a few minutes to set up a project to use a bridging file. If you've got a lot Objective C, you can extend those classes with Swift by using extensions, then migrated a few methods at a time.

    extension MyObjectiveC_Class {

      func aSwiftFunc() { // Can be called from ObjC

      // ....

      }
    }



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: