I am able to select certain dates while loading the FSCalendar. But I want to load calendar with all dates selected.
var attendance_list = [NSManagedObject]();
//After loading data
for attendanceObj in attendance_list{
let createdDate = attendanceObj.value(forKey: "date") as! String;
self.calendar.select(Utils.convertStringToDate(createdDate))
}
Above code is for selecting dates from an array.
How can I select all dates without any array ?