Mac O’Clock
Published in

Mac O’Clock

How to migrate Objective-C code to Swift

Photo by Fotis Fotopoulos on Unsplash

It’s been quite sometime since Swift has come in the market. As it provides many advantages over Objective-C, developers are moving their legacy Objective-C code to Swift. When I did it first I thought it was better to re-write the app from scratch again in Swift. But it is possible to migrate the same legacy code to Swift with little or less hassle. You can actually improve the architecture, logic and performance by…




The best stories for Apple owners and enthusiasts

Recommended from Medium

SwiftUI List Infinite Scrolling within 80 lines of code!

UIKit TableView: Implement Add, Edit, Move Features In The Easiest Possible Way

Learn Swift Fundamentals by preparing for Job Interview, Questions 83 ~ 87 For Static Type vs…

Swift 5.2: Run external program from your SwiftUI application on macOS

XCode cloud is released! here’s what’s new!

How to call block of code in an optimized way.

EelPhone DelPassCode-The Most Effective way to Bypass iPhone Passcode

Property Wrappers in Swift 5.1

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Prateek C

Prateek C

More from Medium

My Top 3 Wishes for WWDC 2022

Dynamic Member Lookup in Swift, a hidden gem!

Who else Wants to Improve iOS Codebase Quality

Read this before learning Server Side Swift. — By .fatalError()