EvanCooper9 / swift-week-view

An iOS calendar library for displaying calendar events in a week view.
205 stars 21 forks source link

weekViewStylerHeaderView returns optional? #21

Open perbrondum opened 3 years ago

perbrondum commented 3 years ago

The readme indicates that the return is not optional, but code demands it. Readme: // Create the header view for the day in the calendar. This would normally contain information about the date func weekViewStylerHeaderView(_ weekView: ECWeekView, with date: DateInRegion, in cell: UICollectionViewCell) -> UIView

EvanCooper9 commented 3 years ago

I'll update the docs the next time I do an update. If you'd like to open a PR you can as well :)