how can i include a calorie tracker in my app?

Discussion in 'iOS Programming' started by geiger10d, Feb 11, 2011.

  1. geiger10d macrumors member

    Jan 31, 2011
    i want my app to track calories in a day, how would i got about doing this? i was looking for a public API but there are really none out there..
  2. balamw Moderator


    Staff Member

    Aug 16, 2005
    New England
    Can you elaborate?

    Food calories in or calories burned through activity?

  3. geiger10d thread starter macrumors member

    Jan 31, 2011
    I would like both, but I mainly would like to have calories from food.
  4. amorya macrumors 6502

    Jun 17, 2007
    What's your current experience level? Do you know about how to compile iOS apps, how to work with view controllers, how to separate your data model from your display logic through model view controller etc? How about how to use something like Core Data?

    If not, you'll need to start by learning Cocoa: have a look at this FAQ. I'm sure other people will be along soon to suggest books that may be helpful.

    If you do know cocoa already, the you should be breaking the problem down into smaller parts. Nobody's going to release a calorie tracking API. But if you start by considering what data you need to store, how the user will input it, what calculations you'll have to make etc, then it should lead you on to more specific questions that are easier to answer :)


Share This Page