The Xcode 7.0 beta documentation refers to a Swift 1.2 to 2.0 Migrator, but there is no menu item in Xcode for this as far as I can tell.
Has anyone used the migrator?
The Xcode 7.0 beta documentation refers to a Swift 1.2 to 2.0 Migrator, but there is no menu item in Xcode for this as far as I can tell.
Has anyone used the migrator?
Edit -> Convert -> To Latest Swift Syntax...
That menu item was greyed out the first time I tried it. Now it's enabled.
Thanks.
Found out the why the Edit -> Convert -> To Latest Swift Syntax menu was greyed out. If you have an old Playground, it may need to be updated first.
If there's a menu item Update Playground under the Editor menu, you need to do that first, then you can convert it from Swift 1.2 to Swift 2.0.