Open EvgenyKarkan opened 10 years ago
1: Add New File => User Interface => UIView
2: Set Custom Class - DSLCalendarView
3: Set Restoration ID - DSLCalendarView
4: DSLCalendarView *calendarView = [[[NSBundle mainBundle] loadNibNamed:@"DSLCalendarView" owner:self options:nil] firstObject]; [self.view addSubview:calendarView];
This might helps you :)
Hi Pete! Thanks for developing this!
I've found that now is only possible way to add calendar - is via IBOutlet. Trying to add it programmatically - my result is only top view with month/year and days of week header with left/right arrows. And there is no days grid. Sadly.
I am not big fan of Xib & storyboards, sorry :) So my question is - how to add DSLCalendarView programmatically?
Thanks!