HorizonCalendar
HorizonCalendar copied to clipboard
How to use this library in a project with existing storyboard?
I have a project in which i need to open a calendar from side menu . How can i implement that?
same question, if you find out the solution do let me know as I wants to open the calendar view inside a UIView on limited portion of screen.
airbnb Calendar.zip I have found a working solution .This is a sample project that i created using storyboard.This is not the complete solution for your requirement but i hope this will be helpful.
Sure, thanks. I'll look into this.
You can use it in a Storyboard, but you'll need to set up an IBOutlet
and do all of the CalendarViewContent
setup programmatically.
If you want to use it in some kind of side menu, then you'll need to add it as a subview to your side view. It's hard to provide further guidance without seeing a design / knowing what you've tried already.
Just use the following code to add it to any view you want:
self.myView.addSubview((self.calendar?.view) ?? UIView())