iOS Tip Calculator written in Swift for CodePath