patchthecode/JTAppleCalendar

Custom contentInset to add space at the bottom of the calendar

Ouverte

#1 189 ouverte le 3 déc. 2019

 (5 commentaires) (0 réaction) (1 personne assignée)Swift (819 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (7 660 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur