Jtapplecalendar: Prevent displaying empty row when cells ares divided by months

Created on 23 Jan 2018  路  5Comments  路  Source: patchthecode/JTAppleCalendar

Great work, guys! Its really powerful and easy to use.

I'm using the latest version (7.1.5).
I have been using cellState.dateBelongsTo == .thisMonth to determine whether a cell should be display so that the cells and divided by months. The problem is there is always a empty row between two months which I want to get rid of. I have checked the source code but didn't find any hints.
I wonder if there is any way to implement that?

Most helpful comment

Oh. thats easy.
in your configureCalendarFuntion, just set the generateOutDates to = .endOfRow

If youre still unsure of what to do, just print me your configure calendar function code (in text, no pictures)

All 5 comments

@kukushi explain empty row?
screenshot might help here thanks.

@patchthecode Thanks for the quick reply.
Here is the screenshot. The areas arrow point to are the empty rows.

simulator screen shot - iphone 8 plus - 2018-01-24 at 12 22 35

Oh. thats easy.
in your configureCalendarFuntion, just set the generateOutDates to = .endOfRow

If youre still unsure of what to do, just print me your configure calendar function code (in text, no pictures)

It works! Thanks a lot!

cool.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

leo150 picture leo150  路  3Comments

gotamafandy picture gotamafandy  路  3Comments

sahirmemon picture sahirmemon  路  4Comments

Fatalution picture Fatalution  路  3Comments

oddpandadesign picture oddpandadesign  路  5Comments