FFCalendar
FFCalendar copied to clipboard
XCode 7 - UICollectionViewFlowLayout Issue
Logging only once for UICollectionViewFlowLayout cache mismatched frame UICollectionViewFlowLayout has cached frame mismatch for index path NSIndexPath: {length = 2, path = 0 - 3} - cached value: {{439, 2}, {144, 120}}; expected value: {{440, 2}, {144, 120}} This is likely occurring because the flow layout subclass FFMonthCollectionViewFlowLayout is modifying attributes returned by UICollectionViewFlowLayout without copying them
I guess which results in missing Dates from Month Collection View
To fix missing dates i changed the following codes in FFMonthCell file
- (void)initLayout {
...
labelDay = [[UILabel alloc] initWithFrame:CGRectMake((imageViewCircle.frame.size.width-25.)/2., (imageViewCircle.frame.size.height-25.)/2., 25., 25.)];