patchthecode/JTAppleCalendar

Custom contentInset to add space at the bottom of the calendar

開放

#1,189 建立於 2019年12月3日

 (5 則留言) (0 個反應) (1 位負責人)Swift (819 個分叉)batch import
enhancementhelp wanted

倉庫指標

星標
 (7,660 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

(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

貢獻者指南