if ([cell isKindOfClass:[TKCalendarDayNameCell class]]) {
//provide and set data for the cell here ...
}
}
This method will be invoked for each visible cell in a given moment. You can either enumerate cells here to get an array with all visible cells , or even better - set the data directly inside the method ( no need to get an array with the visible cells) .
In case you would like to prepare your data in advance ( even before rendering the view) , you will need to implement it with some custom code using the native NSCalendar API . TKCalendar does not expose a specific API to tell which days are in a given week. ( this is expected to be a trivial task using NSCalendar).
Let me know if you need further assistance on that.
Regards,
Pavel Pavlov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.