Apple disclosed Swift in 2014 as the cutting edge substitution to Objective-C and it immediately turned into a staple programming language for building applications for iOS and macOS PCs.