patchthecode/JTAppleCalendar

Custom contentInset to add space at the bottom of the calendar

Offen

#1.189 geöffnet am 03.12.2019

 (5 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Swift (819 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (7.660 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

(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