Swift was first introduced in 2014 at Apple’s Worldwide Developers Conference.
It is the primary programming language for Xcode. It is compatible with Objective-C and is used for iOS, macOS, watchOS and tvOS.
The primary goal when developing Swift was to build a general-purpose programming language with a modern approach to safety, performance and software design patterns. Basically, the goal was to create the best language possible for developing apps from a range of devices as well as diversity in the functions of the app itself.