Objective-C

Why learn Objective-C after Apple announced a new programming language, programmer John Friskis (Jon Friskics), who teaches Objective-C, explained on the pages of Venturebeat. 

We provide a brief version of the material. 

1. The object structures (frameworks) do not change: iOS applications are created using code that has access to the Cocoa Touch framework. The latter contains functions that allow developers, among other things, to visualize pictures and text on the screen in response to user requests, create network requests, control the camera, and so on. How a developer interacts with an object structure depends on the programming language they use. In a broad sense, when you hear that you need to learn Objective-C in order to develop iOS applications, it means that you need to learn how to use the Cocoa Touch framework. Only now with Swift you have another way to interact with the object structure. 

2. Objective-C – tested and tested: there are about 1.2 million apps in the App Store created by 9 million developers. This is, to put it mildly, a lot of Objective-C code. It is unlikely that people and companies who have written so much on it will run to rewrite the code of their applications in Swift (and immediately switch to it after investing in development tools based on Objective-C).

3. A lot of training material. There are a lot of resources dedicated to Objective-C: dozens (if not hundreds) of books, videos, online courses. More importantly, the developers had time to discover and share with colleagues the best solutions, universal ways to create certain things in Objective-C. It is clear that Swift will also come to this, only it will not even happen in a year or two.

4. You can use both languages. Swift is designed to work side-by-side with Objective-C in Xcode. This means that developers can gradually rewrite their applications under Swift. There is no need to rush to extremes, completely abandon Objective-C. 

In general, if you are new to iOS application development, Objective-C training will allow you to delve into the history of the platform, understand the Cocoa Touch libraries. Subsequently , this will help to work more effectively with Swift .

Source: http://venturebeat.com

Tags: