mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
Collection view freezes after upgrading from version 8.1.0 to 9.0.0 #407
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tmbiOS on GitHub (Mar 29, 2023).
Hi, John! @JohnEstropia
Thank you for you awesome library.
We use it in chat app with MessageKit. The problem appears when we migrated from 8.1.0 to 9.0.0 - collectionview starts freeze when scrolling. There is no such problem in the old version 8.1.0.
Please help, what we should check? Thanks.
Some peaces of code.
@JohnEstropia commented on GitHub (Mar 30, 2023):
(edited your comment for syntax highlighting)
There's nothing that stands out in your code above, so I'd need more information. Do you know at which code points the app freezes?
@tmbiOS commented on GitHub (Apr 5, 2023):
Hi, John! @JohnEstropia
I've made small videos with the same code and two versions of the library.
https://drive.google.com/file/d/1l38BpariNpatZBXkTyhzmu7U8mHPs0iD/view?usp=share_link (8.1.0)
https://drive.google.com/file/d/1_EsyngeomeDDIh41I8oF7fBaxaF0HSww/view?usp=share_link (9.0.0)
The app freezes when scrolling, we got all messages before start scrolling. We have 'Message' model with more than 30 properties and use this Object in the cell.
In what part of the library should I make breakpoints or NSLog for investigation the problem? Thanks
@JohnEstropia commented on GitHub (Apr 6, 2023):
I see, so it's not freezing but the scrolling does stutter. Can you try to use instruments to find what's likely taking up the render cycles?
You can check the release contents for 9.0.0 here; there weren't any structural changes that should directly cause this, so it would help if you can provide more context on your side of the migration.
@tmbiOS commented on GitHub (Apr 28, 2023):
Yes, there was the problem with UI, thanks. This issue should be closed.
@tmbiOS commented on GitHub (Sep 20, 2023):
There was the problem with UI