richardtop / CalendarKit

📅 Calendar for Apple platforms in Swift
https://www.youtube.com/watch?v=cJ63-_z1qg8
MIT License
2.49k stars 334 forks source link

How to set multiple events in CalendarKit for the same time? #310

Closed jackspa22ow closed 3 years ago

jackspa22ow commented 3 years ago

Hello Thank you for this amazing library.

I have customized the library based on my client's requirements as he wants to show a thumbnail so I do changes accordingly.

screenshot_1

but the issue is if there are multiple events created at the same time then it gets bunched up or cut off because of the width. as you can see below screenshot.

screenshot_2

So my client looking for UI for multiple events like below

screenshot_3

As you can see, he is looking to create space between times and add thumbnails under each other.

So can you please guide me on how can I archive this kind of UI?

richardtop commented 3 years ago

Hi, you'll need to fork the library and implement your own layout logic. CK can't do this layout out of the box.

jackspa22ow commented 3 years ago

Okay, thanks for the suggestion.