A simple tip calculator for iOS 8 written in Swift