A sample iOS app that calculates tips