A tip calculator for iOS (in Swift) and Android