Xcode 7.3 beta 2 is out, and adds one feature developers using Swift will really enjoy: Interactive Playgrounds. While Playgrounds have been a favorite for testing code for some time, it was a fairly static I/O protocol for making sure the code was correct. Now, you can test to see if the code you put in will actually perform while in use. Apple also has a nifty example of how Interactive Playground will work. So long as you have the Xcode 7.3 beta 2 installed, the NewtonsCradle.playground file is a good example of how you can actually test code in Playgrounds. It’s…

This story continues at The Next Web
Source: The Next Web


Please enter your comment!
Please enter your name here