When I first started writing in Swift, version 2.0 of the language had just been released. I didn’t start out as an ObjC developer, but every example I came across was written in ObjC and I reluctantly forced myself to learn it. Despite reading a lot of ObjC code and writing some, I still prefer to have all my code in a Swift project be written in Swift.
In order to add window management to the Multitouch app, I recently decided to port the popular Spectacle app from ObjC to Swift. The port ended up being more of a rewrite of the app, and I open-sourced it and released it as Rectangle. Here’s what I learned along the way.
If doing it yourself seems crazy, pay a service
Depending on the codebase, how much time you have, and your ObjC dev chops, manning up and doing a full manual port of your ObjC code will more than likely give you the best results. Chances are that if you’re reading this, you already know that’s not a path you want to go down. Because of time constraints, I knew this wasn’t something I wanted to do. Even if a service only got me half the way there, I figured I would save significant time.
Read more.
Comments
0 comments
Please sign in to leave a comment.