[ios] tip calculator in swift.