Convert from swift 3 to swift 4&5


I have a question, can i convert a project that its made in swift 3 and use it in swift 4.0? maby a wierd question


Hi @Gustav_Aberg

Xcode will migrate your Swift 3 code.

To migrate to a newer version from Xcode, choose Edit -> Convert -> To Current Swift Syntax from the Xcode menu.

This should automatically migrate your code to the current version of Xcode.


1 Like

Great, Thanks for answers!