
Type safety discourages and prevents users from making mistakes in their code whilst working in Swift. Let’s look at the former in more detail… Type Safety: the good vs. It promised readable modern syntax, dropped those damn brackets and came with helpful features like type safety and access-level keys. In my opinion, unless you have a really good reason to use a different programming language, you should opt for Swift.įor those of us that started out developing using Obj-C, migrating to Swift was a blessing.
#SWIFT DOWNCAST INITIALIZER UPDATE#
Very few apps developed following the open source update in 2015 have been implemented using Obj-C. It’s the programming language of choice for the majority of iOS developers these days – almost completely replacing Objective-C on framework implementation. Swift 4.0 rectified that and, since then, Swift has continued to grow in popularity. Prior to the release of Swift 4.0 in 2018, however, Swift wasn’t the easiest language to use when it came to implementing backend communication on native apps.


This decision drew the attention of programmers and encouraged them to explore native iOS development in more detail, thus expanding upon the community of developers that were contributing to the App Store at the time.

Swift: A Condensed Historyįollowing Swift’s introduction in 2014, Apple decided to replace the proprietary language approach with the open source approach for the 2.2 version which was released in December of the following year. I’m going to be focusing on one of its most useful features, type safety. Since its unveiling at Apple’s 2014 WWDC keynote, Swift has been gradually adopted by the developer community as the default programming language of choice when it comes to implementing software on Apple devices.
