https://github.com/brightdigit/classicapp
Example App For Migrating Your Objective-C code to Swift.
https://github.com/brightdigit/classicapp
example example-app objective-c swift tutorial
Last synced: 9 months ago
JSON representation
Example App For Migrating Your Objective-C code to Swift.
- Host: GitHub
- URL: https://github.com/brightdigit/classicapp
- Owner: brightdigit
- Created: 2021-08-31T00:30:53.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-10T17:43:31.000Z (almost 4 years ago)
- Last Synced: 2025-04-01T09:51:14.577Z (10 months ago)
- Topics: example, example-app, objective-c, swift, tutorial
- Language: Swift
- Homepage:
- Size: 173 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ClassicApp
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`](https://github.com/brightdigit/ClassicApp/tree/step-0) which is a basic `UITableViewController` application in Objective-C
* [`step-1`](https://github.com/brightdigit/ClassicApp/tree/step-1) - Optimizing Objective-C using Nullability and Generics
* [`step-2`](https://github.com/brightdigit/ClassicApp/tree/step-2) - Creating a Purely Swift Layer
* [`step-3`](https://github.com/brightdigit/ClassicApp/tree/step-3) - Creating a Compatiblity Layer between the Pure Swift and Existing Objective-C code
* [`step-4`](https://github.com/brightdigit/ClassicApp/tree/step-4) - Removing Remaining Objective-C code
## Resources
### Articles
#### [**Imported C and Objective-C APIs** - Apple Developer](https://developer.apple.com/documentation/swift/imported_c_and_objective-c_apis)
Use native Swift syntax to interoperate with types and functions in C and Objective-C.
#### [**Upgrading Old Apps: The Dirty Job of iOS Development**](https://brightdigit.com/blog/2021/03/26/upgrading-old-ios-apps/) 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.
### Podcast Episodes
#### Episode 107 - Expert Swift with Shai Mishali
> 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.
[🎙Podcast](https://share.transistor.fm/s/88850e6f) [📺Youtube](https://www.youtube.com/watch?v=wQNs2ii-zsI)
#### Episode 109 - Objective-C Today with Graham Lee
> 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.
[🎙Podcast](https://share.transistor.fm/s/6ba5bfff) [📺Youtube](https://www.youtube.com/watch?v=H8O0rj1It1w)