Swift or Objective-C first for iOS development?

  • Thread starter Thread starter ConfusedMonkey
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 1K views
ConfusedMonkey
Messages
42
Reaction score
15
I want to learn iOS development. I want to learn both objective-c and swift, but I am having trouble deciding which one is the best one to start with. A lot of answers that I google are not helpful at all.

My background: I have some programming experience, but I have not dived deep into any language. I am not intimidated to learn anything that is considered very difficult. I think I am capable of learning at a swift pace.

So, which one first? Objective-C or Swift?
 
Physics news on Phys.org
I would do Swift as this is the language of choice for iOS. Once you're comfortable with the tools and the language then branch out into Objective-C. As some support for this suggestion:

https://www.infoworld.com/article/2...ive-c-10-reasons-the-future-favors-swift.html

For Android its a toss up between Java and Kotlin and in that case I would choose Kotlin as its arguably a better Java than Java.

Lastly, here's a comparision between Swift and Kotlin just so you know as apps for iOS sometimes get moved to Android for wider market appeal:

https://dev.to/sciencesoft/kotlin-v...-moving-towards-creating-a-universal-language
 
  • Like
Likes   Reactions: ConfusedMonkey