Learn Courses My Dashboard

How Can I create draggable views to select multiple collection view cells in a Horizontal Calender without Cocoapods in swift 5

I have created a horizontal calendar. I need to select multiple dates , which can be acquired by selecting multiple collection view cells.

Why without Cocoapods? Or you could find a different third party library that used SPM (Swift Package Manager)

Calendars are those things of, why reinvent the wheel, and they’re easier to use a 3rd party library, especially because calendars have to do with dates/time zones which can quickly become a pain.

But if you really don’t want to use a 3rd party library, my advice is break it down. Start with making a collection view, figure out how to select multiple cells, then figure out how to drag views.
If you try to do it all at once you’ll be overwhelmed, break down it down and do one step at a time

1 Like