Whither Objective-C?
So, what about Objective-C, Apple’s previous lingua franca for its platforms? Do you still need to know that language? For professional macOS and iOS developers, we think that answer is an unequivocal “yes.” Apple’s Cocoa and UIKit libraries, which you will use extensively, are written in Objective-C, so debugging will be easier if you understand that language. Indeed, Apple has made it easy – and sometimes preferable – to mix and match Objective-C with Swift in the same project. As a macOS or iOS developer, you are bound to encounter Objective-C, so it makes sense to be familiar with the language.
But do you need to know Objective-C to learn Swift or to begin to develop macOS or iOS apps? Not at all. Swift coexists ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access