What it is: Released in 2014, the Swift programming language is now more popular than Objective-C.
At one time, Apple relied on Objective-C, an object-oriented programming language based on the popular C programming language. The biggest problem with Objective-C was that it was confusing and difficult to read, write, and understand. Yet because Objective-C was Apple’s official programming language, programmers tortured themselves into learning and using it so they could write iPhone and iPad apps along with Macintosh programs.
Then in 2014, Apple released a surprise called Swift. Swift is just as powerful as Objective-C but uses a simpler, cleaner language that’s much easier to read, write, and understand. No surprise, Swift quickly grew in popularity. Given the choice of using Swift or Objective-C, more programmers are using Swift. Swift even compiles into faster code than Objective-C so you get all the benefits of Objective-C with none of the drawbacks. If you want to write programs for Apple products, learn Swift and ignore Objective-C.
While Apple’s official language is Swift, Google’s official language was their Go programming language, but now they’ve switched to supporting Kotlin, which is compatible with Java, the programming language used for Android. If you want to write Android apps, learn Java, but since Kotlin is compatible with Java and more powerful, you might as well learn Kotlin.
So each platform has its own official language that you should learn if you want to support that platform. For Windows, learn Microsoft’s C# language. For Android, learn Kotlin. For Apple products, learn Swift.
Learning so many different languages can be troublesome but each native language gives you full access to the latest operating system changes. If you try to use another language, you’ll have more trouble using the latest features. If you only have time to learn one language, decide which platform you want to support. With Apple’s growing market, it’s easy to see that Swift is a logical choice. With Android’s large market share, it also makes sense to focus on Kotlin if you want to focus on Android. If you’re still focused on Windows, then learn C#.
You can make money with any programming language. The question is which platform do you want to focus on first?