How to know which version of Swift is used

To know which version of Swift, your project is using you have to do following steps

  1. Open project in Xcode.
  2. select Project -> target -> build settings
  3. Type Swift_version in search

You will get your swift version information under swift language version key.

Swift version
A pat on the back !!