1.1. About Swift
Apple has created a new programming language called Swift to use in its product development for iOS, macOS, watchOS, and tvOS. Swift is aiming at safety-first programming patterns and introduces many new features such as optional, generic, protocol, tuple, and extension for easier and more fun…