In this blog, we’re going to look at creating a simple app to show how easy it is to add unit testing to Swift apps in Xcode. We’ll look at how much we get out of the box and then create a calculator app to do some simple unit tests.
Swift was announced at the WWDC in 2014 and late last year the code was open sourced. It can run on both OSX and Ubuntu which is a huge departure for Apple which has typically been a more closed system. The language Swift is a completely different animal to Objective-C.