Swift or Objective-C first for iOS development?

  • Thread starter Thread starter ConfusedMonkey
  • Start date Start date
Click For Summary
SUMMARY

For aspiring iOS developers, starting with Swift is recommended as it is the primary language for iOS development. Swift's modern syntax and features make it more accessible for beginners compared to Objective-C. Once proficiency in Swift is achieved, transitioning to Objective-C can enhance understanding of legacy codebases. Resources such as the InfoWorld article provide further insights into the advantages of Swift over Objective-C.

PREREQUISITES
  • Basic programming concepts
  • Familiarity with Xcode IDE
  • Understanding of object-oriented programming
  • Knowledge of mobile application development principles
NEXT STEPS
  • Explore Swift programming fundamentals
  • Practice using Xcode for iOS app development
  • Learn about Objective-C syntax and features
  • Research the differences between Swift and Kotlin for cross-platform development
USEFUL FOR

Beginner iOS developers, programmers transitioning to mobile development, and anyone interested in understanding the evolution of programming languages in the context of iOS and Android applications.

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?
 
Technology 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

Similar threads

  • · Replies 25 ·
Replies
25
Views
1K
Replies
86
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
69
Views
11K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 102 ·
4
Replies
102
Views
4K
Replies
16
Views
3K