richardtop / CalendarKit

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

How to change the Y origin and Embed the calendar in another class? #238

Closed pradeepktg closed 4 years ago

pradeepktg commented 4 years ago

New Issue Checklist

Issue Description

  1. I'm trying to change the Y origin and tried changing in a few places, but it is not moving. In my app, I have a custom view at the top which is 88 height, so I want the set the calendar's Y origin. How to do that?

  2. How to add the calendar in my custom class without setting "CalendarViewController" as class?

Code I'm using with CalendarKit

[INSERT CODE HERE]

Result I am trying to achieve

[INSERT API OR UI MOCKUPS HERE]