(no subject)

  • Hi all, I'm new to cocoa programming, having written a lot of c++
    programs, mostly computational fluid dynamics and heat transfer
    simulations.  I've recently been delving into writing a core data
    app, there are a couple of things that I'm really struggling to
    figure out.

    First I ought to describe my project a bit - I'm making a
    (relatively) simple workout log.  I have three entities:  workout,
    sport and intensity.  each workout has a date, a duration, a
    distance, and a note, and also a relationship to a sport and an
    intensity.  My main interface window has a table with a list of
    workouts (with add/delete buttons) that I've logged, a table of
    sports, a table of intensities and a calendar.  I have similar
    secondary windows for my sports and intensities, where I will add/
    delete sports or intensities.  There are a couple of things I would
    like to do with my main interface window.

    1.  I would like to be able to click on a date on the calendar
    (currently doesn't have any function) and have only the workout(s)
    from that day show in the table.

    2.  I would like to be able to click on a sport in the sport table on
    in the main window (currently just a listing of the sports that I've
    added on the sports window) and have only the workout(s) with that
    sport associated with them show in the table.

    3.  I'd like to have the same functionality with the intensity table
    in the main window.  I'd also like to be able to filter by both sport
    and intensity, so if I click on a sport and then click on an
    intensity it shows me only the workouts associated with that sport
    and intensity.

    4.  computations:  I'd like to have a text box which shows me the
    total of the duration column.  If I filter the table by sport or
    intensity I'd like this box to show the filtered total.  If I can
    also show a weekly and monthly total that would be awesome.  It would
    also be awesome if I could add a column to my workout table that
    automatically calculated average pace (workout distance/workout time).

    Those are the 4 items on my wish list.  Please let me know if you
    have any advice/suggestions/places for me to read up on these
    topics.  I hope to hear from you again.  thanks!!
previous month september 2007 next month
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Go to today