MSCollectionViewCalendarLayout icon indicating copy to clipboard operation
MSCollectionViewCalendarLayout copied to clipboard

Show 24 hours time even if there is no event

Open sree127 opened this issue 11 years ago • 2 comments

Is there a way to show the entire time starting from 0:00 to 23:00 even If there are no events?

sree127 avatar Jul 20 '15 11:07 sree127

Subclass MSCollectionViewCalendarLayout and override -earliestHourForSection: and -latestHourForSection: to return 0 and 24, respectively. Use your subclass instead of MSCollectionViewCalendarLayout on your UICollectionView.

jwyld avatar Aug 06 '15 20:08 jwyld

Thanks for the suggestion, @jwyld ! 👍

natanrolnik avatar Aug 25 '15 22:08 natanrolnik