patchthecode/JTAppleCalendar

Custom contentInset to add space at the bottom of the calendar

Open

#1,189 opened on Dec 3, 2019

View on GitHub
 (5 comments) (0 reactions) (1 assignee)Swift (819 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (7,660 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

(Required) Version Number: 8.0.2

Description

I would like to add some spacing at the bottom of the calendar, but it doesn't seem to be customisable.

I tried setting a custom contentInset, but it looks like it's updated internally.

I may be good to have an equivalent method for customised footer views ? public func calendar(_ calendar: JTACMonthView, footerViewForDateRange range: (start: Date, end: Date), at indexPath: IndexPath) -> JTACMonthReusableView {

If there's an actual solution, can you please provide the code/documentation ?

Additional Context

Contributor guide