Skip to content

Conversation

@asserusama
Copy link

Issue:

•	Days were displayed statically, limited to four entries.
•	Time slots were fixed and did not allow vertical scrolling.
•	Day names were hardcoded, requiring manual updates.

Solution:

•	Added horizontal scrolling for all days of the month.
•	Enabled vertical scrolling for time slots.
•	Made day names dynamic, based on the date.

Key Changes:

•	Replaced static day boxes with a ScrollView(.horizontal) using a ForEach loop for 31 days.
•	Replaced hardcoded time slots with a ScrollView(.vertical) spanning 12 AM–11 PM.
•	Added dayOfWeek(for:) to calculate day names dynamically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant