nayaread
HomeFavouritesTopicsSources
HomeFavouritesTopicsSources
NayaRead links to original engineering blogs. All copyright belongs to the respective authors.
Shopify Engineering·Jun 15, 2017·8 min read37

Maintaining a Swift and Objective-C Hybrid Codebase - Shopify

6 minute read Swift is gaining popularity among iOS developers, which is of no surprise. It's strictly typed, which means you can prove the correctness of your program at compile time, given that your typesystem describes the domain well. It's a modern language offering syntax constructs encouraging developers to write better architecture using fewer lines of code, making it expressive. It's more fun to work with, and all the new Cocoa projects are being written in Swift. At Shopify, we want to adopt Swift where it makes sense, while understanding that many existing projects have an extensive codebase (some of them written years ago) in Objective-C (OBJC) that are still actively supported. It's tempting to write new code in Swift, but we can't migrate all the existing OBJC codebase quickly. And sometimes it just isn't worth the effort.

Mobile
Read original on shopify.engineering

Score breakdown

  • Technical depth50
  • Practical value30
  • Originality60
  • Writing quality100
  • Source reputation0
  • Recency0
  • External engagement0
  • On-site engagement0

NayaRead shows a summary and links to the original article. The full article is hosted on shopify.engineering.

More like this

Etsy — Code as Craft

How We Built The Deals Tab in Swift UI

Pierre Rodgers·Mar 5, 2024·13 min read
The GitHub Blog

GitHub Package Registry will support Swift packages

Simina Pasat·Jun 3, 2019·9 min read
JioHotstar Tech Blog

Modernizing Dependency Management: Beyond CocoaPods (Part 2 — The Execution)

Saurabh Kapoor·Feb 13, 2026·15 min read
Shopify Engineering

Management of Native Code and React Native at Shopify - Shopify

Apr 16, 2021·11 min read