mretondo
mretondo

Reputation: 197

Has Newton’s Cradle playground been ported to use swift 3 code

I'm looking for a Xcode 8 port of the Newton’s Cradle playground that's been rewritten in swift 3.

Upvotes: 4

Views: 582

Answers (2)

Omar Albeik
Omar Albeik

Reputation: 1344

I updated the playground to use Swift 3 and Xcode 8.2 in the following repo https://github.com/omaralbeik/NewtonsCradle-Swift3

Upvotes: 0

KrisP
KrisP

Reputation: 56

You can do it manually from the menu:

Edit -> Convert -> To Current Swift Syntax

Worked for me.

Upvotes: 4

Related Questions