Open Ewg777 opened 6 years ago
Could you tell me Xcode version, iOS version and what have done?
@KyoheiG3 xcode Version 9.2 (9C40b). All ios versions https://imgur.com/TBVdjWQ The crash occurs when I'm updating the data in my DataManager (line APagingBaseCell.setData(_:page:) (APagingBaseCell.swift:81)) before PagingView.reloadData() get called. Did it help?
Please check the value returned by the delegate functions below and the value of IndexPath you are trying to access.
func pagingView(_ pagingView: PagingView, numberOfItemsInSection section: Int) -> Int
@objc optional func numberOfSectionsInPagingView(_ pagingView: PagingView) -> Int
That crash error is because IndexPath is out of range. PagingView.swift#L388
Version PagingView (0.5.1) SIGTRAP 0x00000000019d4b84
@KyoheiG3