Swift or Objective-C first for iOS development?

  • Thread starter Thread starter ConfusedMonkey
  • Start date Start date
AI Thread Summary
For those looking to learn iOS development, the discussion emphasizes starting with Swift rather than Objective-C. Swift is currently the preferred language for iOS development, making it a more relevant choice for beginners. Once proficiency in Swift is achieved, transitioning to Objective-C can be beneficial for understanding legacy code and broader iOS frameworks. Additionally, the conversation touches on Android development, suggesting Kotlin as a superior alternative to Java, and highlights the potential for cross-platform development by comparing Swift and Kotlin. This approach aligns with current industry trends and enhances marketability in mobile app development.
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 ConfusedMonkey
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top