Example App For Migrating Your Objective-C code to Swift.
Branches represent each step in a Piecemeal process of moving your app over:
- Starting with
step-0
which is a basicUITableViewController
application in Objective-C step-1
- Optimizing Objective-C using Nullability and Genericsstep-2
- Creating a Purely Swift Layerstep-3
- Creating a Compatiblity Layer between the Pure Swift and Existing Objective-C codestep-4
- Removing Remaining Objective-C code
Use native Swift syntax to interoperate with types and functions in C and Objective-C.
Upgrading Old Apps: The Dirty Job of iOS Development at BrightDigit
Upgrading an iOS app can be time-consuming. It involves the process of refactoring, rewriting, and replacing some or all of the app’s code.
This can introduce risk and uncertainty. However, it’s an opportunity to ensure your users are getting the best experience possible from your app. Over a long enough time, every app needs to be upgraded, whether to support the newer versions of iOS or take advantage of the latest features., Unfortunately, because the process is so often difficult, headache-inducing, and complicated, it is rarely looked forward to, and often avoided.
In this episode, Leo is joined by Shai Mishali to chat about the new Ray Wenderlich he collaborated on: Expert Swift. They deep dive into topics like Codable, Objective-C Interop, and API Design.
In this episode, Leo invites Graham Lee, Senior Research Software Engineer at the University of Oxford, who's been writing Objective-C for over 20 years and brings his experience to talk about what Swift developers should know about Objective-C and how the language works.