What to learn in 2019? Swift and Objective-C, or just Swift is enough?
Closed due to the fact that it is necessary to reformulate the question so that you can give an objectively correct answer to the participants Enikeyschik , Anton Sorokin , andreymal , aleksandr barakin , Grundy on Feb. 27 at 7:18 .
The question gives rise to endless debates and discussions based not on knowledge, but on opinions. To get an answer, rephrase your question so that it can be given an unambiguously correct answer, or delete the question altogether. If the question can be reformulated according to the rules set out in the certificate , edit it .
- oneLearn everything you can learn - Anton Sorokin
- Obj-c as a base is still worth exploring. After Swift, the base will be incomplete as after Obj-c. Regarding work, there are a lot of projects on support at Obj-c. Despite the complex syntax, the language is very flexible and after learning it you will learn many programming subtleties. After Obj-c, Swift "flies" on you. - Kerim Khasbulatov
- livetyping.com/en/blog/na-chem-pishut-prilozhenija-pod-ios - Kerim Khasbulatov
2 answers
It depends on your goal. If for home projects, then Swift is enough. If you get a job at Sberbank, then you need Objective-C. In general, there are still many projects on Objective-C in the world, therefore, seriously, Objective-C is still needed.
Besides Swift, learn in the same way Objective C. Many components inside contain Objective C, and you need to understand how it works and how it works at a deep level. Some Swift classes are wrappers over Objective C.
Trite - click "Jump to Definition" on func viewDidLoad () and you will be taken to the UIViewController.h file, where functions and properties are written on the Objective-C. In addition, there are many libraries in Objective C, some of which are not in Swift. Of course, you can still use them in Swift, but you can’t fix or add something without knowing the language. Often background information or examples are also available in Objective C, knowing the language is easy to rewrite in Swift.
Without Objective C, you will not be able to rise above the middle (and perhaps you will not be able to rise to it).