Convert from swift 3 to swift 4&5

Hi,

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

Thanks

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.

Blessings,
—Mark

1 Like

Great, Thanks for answers!