A quick Tip Calculator example written in Swift.