A simple tip calculator written in Swift, with the help of Codepath.