Codepath iOS project - tip calculator