diff options
| author | nic <ra@afu.re> | 2025-05-05 10:59:25 -0400 |
|---|---|---|
| committer | nic <ra@afu.re> | 2025-05-05 10:59:25 -0400 |
| commit | 21ae09ada9d367994b3a00c14bce5836a806b899 (patch) | |
| tree | 7572094d84b9c185245c84d3dea90e39932e7dcc /cs/swift cal tracker.md | |
| parent | 0567d6cd88c593b7d69df371a9804fa384c4b5d6 (diff) | |
Auto from nzxt - Mon 05 May 2025 10:59:25 AM EDT
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 |
