JTAppleCalendar icon indicating copy to clipboard operation
JTAppleCalendar copied to clipboard

Custom contentInset to add space at the bottom of the calendar

Open zigzagg16 opened this issue 5 years ago • 5 comments

(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

Screenshot 2019-12-03 at 10 40 49

zigzagg16 avatar Dec 03 '19 09:12 zigzagg16

hmm. I only support header. No one has asked for footer before, so i have never done it.

I will have to implement this. Setting this issue as an update feature.

Unfortunately though, I will not get to this feature soon as i am working on a project. Someone will have to do a pull request if you need this feature faster.

The update will be this

  1. Ability to add spacer views after any month.

patchthecode avatar Dec 03 '19 11:12 patchthecode

Thanks @patchthecode for the quick reply, we'll check internally if we can implement it.

zigzagg16 avatar Dec 03 '19 11:12 zigzagg16

Hi. Does anyone achieved to implement this enhancement?

jpgpineda avatar Oct 05 '20 07:10 jpgpineda

Hi @patchthecode any update on this? I faced this issue too

LThinh avatar Aug 21 '22 05:08 LThinh

@LThinh not until someone does it i'm afraid. NO one yet has implemented this to my knowledge

patchthecode avatar Aug 21 '22 22:08 patchthecode