You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you provide some additional context around how you are getting the divide by zero crash? I've been unable to replicate.
You can see a modified version of the BaseCollectionViewController.swift from the example project below. When you load this VC in the example app then centeredIndexPath returns nil as expected.
Activity
zykyan commentedon Mar 26, 2021
Any fix on this?
rcobelli commentedon Mar 29, 2021
Hi!
Can you provide some additional context around how you are getting the
divide by zero
crash? I've been unable to replicate.You can see a modified version of the
BaseCollectionViewController.swift
from the example project below. When you load this VC in the example app thencenteredIndexPath
returnsnil
as expected.BaseCollectionViewController.swift