iOS – Swift vs Objective-C

Since the introduction of Swift by Apple( a new programming language for developing iOS apps using xcode) , among iOS developers it has become a myth that Swift is going to replace Objective-C.

I just would like to add my few cents to this view:

MYTH 1: Swift will replace Objective-C immediately

NO, Swift is a new and flexible way of developing iOS apps. Though it has advantage over Objective-C, in terms of performance, stability and simplicity.  Objective-C has come so far and lots of apps developers prefers objective-c as their primary language for iOS development. It will take a long way for developers to migrate to Swift.

Apple doesn’t say you should migrate to Swift immediately, they have given you both options. Based on how flexible you are with each of these languages, you can choose to develop iOS apps using:

  1. Swift
  2. Objective-C
  3. a Combination of both (this would me more applicable for existing applications).

Apple has just given you another option for Developing iOS apps. So don’t fear about migrating to Swift immediately.

MYTH 2:  Existing apps should be migrated to SWIFT immediately

NO, Apple has given you a new concise language and syntax for iOS application development in fewer lines than traditional Objective-C.

You don’t have to migrate your existing applications to SWIFT, that’s not the intend. You have the flexibility to develop new features and additions to your apps using Swift (without upgrading or converting you code to Swift). Objective-C and Swift can co-exist in application development.

I hope that clarifies some of the confusions.

If you are a beginner and would like to learn about Swift, refer to the following articles:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.