I am new to the SwiftUi.
I have written a code that saves the number of Days the user has picked. The point of my question that I do not know how to make it to subtract one day every new day.
For example, we have 70 days the user has picked. I want every day to be like 70-1 = 69, 69-1 = 68, and so on.
Thank you for reading and I'd really appreciate any ideas :)