JZCalendarWeekView
JZCalendarWeekView copied to clipboard
Crash in JZBaseWeekView.swift:130:55 getSectionWidth
We get numerous crash reports that are caused by this getSectionWidth
method.
We have also received a crash in closure #1 (Swift.Int, Swift.UnsafeMutablePointer<ObjectiveC.ObjCBool>) -> () in JZCalendarWeekView.JZWeekViewFlowLayout.prepareHorizontalTileSectionLayoutForSections(__C.NSIndexSet) -> ()
I will try to look through it this week.
Since I did a bit refactoring work just now, is it crashed at
var sectionWidth = contentViewWidth / CGFloat(numOfDays)
?
Is it maybe because numOfDays
equals 0?
It is really weird.