Create a tabbed application that tracks daily calorie intake. One tab should allow the user to enter calorie information for a given meal.
The other tab should display a list of daily totals. Clicking on a row should navigate the user to another list displaying all meals and values for the day. Each entry should contain the following:
- Food description
- Grams of fat
- Grams of protein
- Grams of carbohydrates
The business logic of the application should consist of one class called “DailyIntake” which should have a mutable array containing instances of a class called “MealInformation.” “DailyIntake” should also be able to calculate the totals for the day.
Include the ability to e-mail the list of daily totals to the user.