Skip to content

Custom cell can't be casted when using maximumDate #497

@anaroda

Description

@anaroda

Registering a custom cell in FSCalendar and setting the maximumDate. App fails on the last page (last month) of calendar.

This also happens on the test project.

  • Integration method. cocoapods
  • Add the following on the DIYExampleViewController in the Obj-C project
- (NSDate *)minimumDateForCalendar:(FSCalendar *)calendar
{
    return [self.dateFormatter dateFromString:@"2016-07-08"];
}

- (NSDate *)maximumDateForCalendar:(FSCalendar *)calendar
{
    return [self.dateFormatter dateFromString:@"2017-09-08"];
}
  • Xcode version. e.g. Xcode 8.1
  • FSCalendar version. e.g. FSCalendar commit 22c8da8

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions