-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function storageDidPerformUpdate Batch update error #23
Comments
Hey! I've seen a number of workarounds to fix issues with UICollectionView in the past. Latest releases of DTCollectionViewManager are almost completely cleaned from all of them, one thing remaining is number of sections workaround here - https://github.com/DenHeadless/DTCollectionViewManager/blob/master/Source/DTCollectionViewManager.swift#L159-L163. Before introducing another workaround, we need to have a reproducible case where this crash is easily seen, and have a unit test for it. If unit test is impossible for some reason, it would be great to have a sample project that reproduces the issue. Let's start with identifying the problem and then try to find solution for it. I don't think issue is super pressing, we use DTCollectionViewManager in lots of projects, and they are stable. I think the issue may be minor and only occur in some uncommon situations. This doesn't mean of course, that we should not fix it =) Please, take your time, it would be great if you came up with unit test or sample project and then we'll proceed with finding a solution. |
Hello folks. Here is the simple unit test that will help you to reproduce mentioned issue.
If you will place a breakpoint at |
@RenGate Thanks for taking the time, i have switched projects and have been swamped with other work related issues that this fell on the back burner. Much appreciated |
Hey guys! I've pushed 6.1.0-beta.1 release, which hopefully resolves this issue 🎉 |
Got this little ditty from the compiler as it threw an runtime exception
Now i recall a year or so back running into the same problem when working with UICollectionViews and i did come up with a solution but it escapes me, luckily i believe someone else documented their struggles and solutions on the same problem.
any change of an update or would you like me to make a pull request? I wont be able to do so myself for a few days at least...Work deadlines and such.
The text was updated successfully, but these errors were encountered: