diff options
| author | nic <ra@afu.re> | 2025-04-12 10:03:44 -0400 |
|---|---|---|
| committer | nic <ra@afu.re> | 2025-04-12 10:03:44 -0400 |
| commit | ac2034a8dac3aa338e5a4ef486da10add3ec83ab (patch) | |
| tree | 67f1c27ca135ef257515d89c598dd82a8f9a51b7 /Technology/swift cal tracker.md | |
| parent | 87b544c025c2d89ca867e190a0aee4a95730d44b (diff) | |
Auto from nzxt - Sat 12 Apr 2025 10:03:44 AM EDT
Diffstat (limited to 'Technology/swift cal tracker.md')
| -rw-r--r-- | Technology/swift cal tracker.md | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Technology/swift cal tracker.md b/Technology/swift cal tracker.md new file mode 100644 index 0000000..8bed566 --- /dev/null +++ b/Technology/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 |
