Sometimes we need to check what version of Swift we are using, or, more
correctly what version of Swift Xcode is using. There are two ways that we can
do this, one is more accurate if you want more than just the major version.
Finding Swift version using the terminal