diff options
Diffstat (limited to 'cs/swift cal tracker.md')
| -rw-r--r-- | cs/swift cal tracker.md | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/cs/swift cal tracker.md b/cs/swift cal tracker.md new file mode 100644 index 0000000..8bed566 --- /dev/null +++ b/cs/swift cal tracker.md @@ -0,0 +1,47 @@ +Write a swift ios app. Use sqlite3 for all data. Have sl3 export option. +An app that is a nutrition tracker inspired from opennutritracker. +First app check if profile is created and make user create it if not. + +#V2 add exercise logging +#V3 archived food items + +Have 3 tabs - Home, Diary, Profile + +# Home +The home tab consist of 3 things, vertical scroll view of daily summary widget, Food Log widget, Activity Log widget + a button to add a log + +track daily data summary widget: +cicular progress indicator (Calories) as big circle & text +Macronutrient breakdown (Carbs/Fat/Protein) as text only: x/y + +log all daily food item widget +like opennutri... (see pic # x) +log physical activity widget +like opennutri... + + +# Profile +Age, Height +Weight + +# Diary +a calendar UI that tracks past daily logs +Food log widget below calendar + + + + +# ALL SL3 tables + +Profile(Age, Height, CaloriesGoal,CarbsGoal,FatGoal,ProteinGoal) +WeightLogDaily(CAN BE NULL IF WANT TO SKIP A LOG)(Date,Weight) +FoodItem(Calories,Carbs,Fat,Protein) portion? +FoodLog(Date,FoodItems) + + +# +THINK IN TERMS OF CRUD +CREATE +READ +UPDATE +DELETE |
