Schogini - Amazon AWS, Magento and Mobile Developers
 

Case Study : Convert Objective C to Swift - The IOS Code Conversion Success Story

Requirement

The client is an established IOS app publisher on iTunes. They had a live IOS applications written in Objective-C. They wanted to convert these apps to the latest Swift code of IOS. They wanted to leverage the flexibility and the efficiency provided by Swift and also wanted to integrate a 3rd party framework, which is written in Swift.

Business Scenario

The client wanted to update their live IOS applications that was written in Objective-C to Swift in such a way that the final application will have all the existing features of the live app without compromising the look and feel. They also wanted to perform this Objective C to Swift conversion so that they can implement a custom 3rd party frameword they were using in their Objective C app, which was upgraded to Swift.

Challenges

To convert Objective C to Swift, the process involved is not light.

  • Preserve the existing look and feel of the application while converting to Swift.
  • Integrate Swift framework for all the 3rd party frameworks and libraries being used in the app.
  • The app conversion should be fully test driven so as to ensure the data integrity at every stage of conversion.
  • Convert the manual memory management in the Objective C app to automatic in Swift without affecting the functionality of the app.

Solution

After analysing the requirements, Schogini’s IOS experts decided to divide the project in such a way that first the required frameworks and sample integration was performed on separate Swift projects for testing and then integrating with the main project. The main project in itself was recoded based on functionality. A systematic and meticulous approach was necessary to pull it off as the functionalities were not simple and to convert it into a different language was a tedious process. But with the help of careful planning, the conversion was done in record time.

Results

With the completion of the project conversion of Objective-C to Swift, the Swift application was evaluated by the client internally to ensure that functionality and the look and feel is similar to that of the live app without any glitches. After this verification, the Swift app is made live by replacing it with the existing Objective-C app. Schogini team also helped the client in the process of uploading the Swift app to iTunes.

Author

Abhijith VG - COO/Cloud & DevOps Architect
Abhi is a very experienced mobile app expert, specialized in native IOS & Android. He looks after the mobility department at Schogini. He has 6+ years of experience in managing and developing highly complex applications for mobile devices in IOS & Android platforms. His expertise ranges from mobile enterprise business application development & multi platform custom app development to 2D game development. He is also the author of variety of books on IOS application development with Objective-C & Swift. He is a well established trainer on both IOS and Android application development. Along with these, he is also an Amazon AWS Developer & Magento Developer Plus certified professional.
Know more about the author.
 
 
 

CONTACT US

We love to talk to you, all enquires are replied to in under 4 hours.