An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          


Rotary Phone Icon


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)