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 Open project in Xcode. select Project -> target -> build settings Type Swift_version in search You will get your swift version information under swift language version key.