April 5, 2017 by Shikma
By: Tamir Abramov Co-Founder & CTO Gini-Apps
On June 2, 2014, Apple announced the Swift language as the programming language for Apple’s operating systems and, of course, the native language for IOS which is the operating system for iPhone.
This language replaces the previous language – Objective C and it adopts more secure programming patterns, adds modern features for easier programming, more flexible and just as important, it is more fun.
Apple has worked for many years on developing this programming language until it reached us – the developers of the Xcode environment, about two years ago.
It is important to understand that languages do not die easily. Objective C still exists in many parts of Apple’s code and will always be there, but applications and developments that are stuck and dependent on past technologies become difficult to maintain and finally die. So should we move on to other languages? And if so, when?
Of course, it is always worthwhile to progress with Apple, and we shouldn’t ignore any change the company brings to the development environment, and it has brought many in the past two years.
The changes bring support for new resolutions in new devices, better performance, tools to deal with graphic challenges and interfaces that were complicated at the beginning and are now becoming easier to implement.
In some cases, this functionality is outdated and Apple or any other third party provide newer and faster methods/algorithms to be used by developers.
There is no easy or magic way to move quickly to Swift.
You have to invest a great deal of thought, adopt safer programming patterns and even think about a new design, because the only way is to rewrite your application.
Yes, it’s time, and it’s also a good time when Swift Ver. 3.0 is considered stable and safe to implement.
Beyond that, the most important reason, in my opinion, is the programmers. Colleges in Israel and abroad have been teaching Swift in the past two years and since then, new Objective C developers have not entered the workforce.
A graph illustrating how much Swift is loved by developers (stack overflow):
av_image src=’http://www.gini-apps.com/wp-content/uploads/2017/04/Most-loved-Languages-Swift-programming-language.png’ attachment=’700′ attachment_size=’full’ align=’center’ styling=” hover=” link=” target=” caption=” font_size=” appearance=” overlay_opacity=’0.4′ overlay_color=’#000000′ overlay_text_color=’#ffffff’ animation=’no-animation’ custom_class=” admin_preview_bg=”][/av_image]
So where do you begin? There are a lot of ways to implement and rewrite code, it is important to plan the following code correctly and in a learned manner because Swift is here to stay for many years.