Am I learning swift or objective-c directly?

Source: Internet
Author: User

After we released the Swift language learning course, we received a lot of emails and private messages to ask if we still need to learn C or objective-c. In addition, people seem to be wondering what parts of the iOS development ecosystem Swift is suitable for. Through this article, I hope to clear your doubts and send you to the correct learning track.

Should I learn c/objective-c first or direct to Swift?

Swift is a completely new language, with no relation to objective-c or C. I mean they are all programming languages and follow some basic concepts and examples, but you don't need to learn another before you learn one. Even if you are new to programming, you can also learn the official Swift documents issued by Apple (Chinese version) without having to learn objective-c first.

I am learning objective-c, should I switch to Swift?

This depends on the situation. If you're learning iOS as a hobby or motivated by curiosity, go to Swift learning. If you're working on iOS development as a career, you know that at least 1 million apps are written in Objective-c, and Swift was just released in 2014, so it's still possible to use OBJECTIVE-C for your future career app development. So you need to learn objective-c to get a job until Swift becomes the standard, which will probably take years. It will also be good for you to learn two languages at the same time. Your prospective boss might even let you switch the existing Objective-c app to Swift. But I have reservations about this, because the most important part of an app is its functionality, not the language it uses, so rewriting existing apps may not be popular.

I suggest that beginners choose Swift because it is a friendly language and thanks to playground for making it easy to learn. Once you've learned swift, it's easier to understand the learning objective-c if you think of iOS development as a career.

Finally, Swift is a modern language, and if you learn swift, it means you're ready for the future as well, because Swift will be the language of the next generation of apps, including apps on Apple Watch. Swift language is the gift that Apple gives to everyone. There are no 5-year-old swift developers in the world, but if you start learning Swift now, you'll be one of them in 5 years.

My last suggestion is that no matter which language you choose, learn it and master it. Finally you will find that the language you use is not the most important as long as you learn the iOS SDK. and learning a language can easily begin to learn another door, the most important thing is to start learning from now on.

Am I learning swift or objective-c directly?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.