ekazaev / ChatLayout

ChatLayout is an alternative solution to MessageKit. It uses custom UICollectionViewLayout to provide you full control over the presentation as well as all the tools available in UICollectionView. It supports dynamic cells and supplementary view sizes.
MIT License
898 stars 67 forks source link

Getting many prints of 'UICollectionViewRecursion' not sure what it means #23

Closed brunomunizaf closed 3 years ago

brunomunizaf commented 3 years ago

Hello again! :)

I'm getting a lot of prints of the following message: [UICollectionViewRecursion] cv == 0x7ff0518ece00 Disabling recursion trigger logging But I have no idea what is it about. After a quick google search It seems related to compositional layout on iOS 15 maybe? Do you have any idea what is going on?

Just for sake of more clarity (if any) it prints when dequeueing the cells for the first time and all memory addresses are the same

Cheers!!

ekazaev commented 3 years ago

TBH, I dont really use ios 15 for development yet. Ill keep my eye on it. But it seems that Apple really fecked something up again in the UICollectionView in ios 15. I definitely do not use any compositional layout or even reference it somehow.

ekazaev commented 3 years ago

@brunomunizaf Id suggest not to worry much about it for now. It seems that its apples internal problem. Looks like SwiftUI also causes it without even referencing the UICollectionView. https://stackoverflow.com/questions/69397650/swiftui-disabling-recursion-trigger-logging-when-use-menu Well, I assume that apple uses UICollectionView to draw the Menu itself. But Ill keep my eye on it. A bit busy this days.

ekazaev commented 3 years ago

Ok, a lady from apple confirmed that its their logging that wasn't disabled. Dont worry about it. https://twitter.com/caughtinflux/status/1439276097464528896?s=21

feel free to ask her about this issue as well 🙈https://github.com/ekazaev/ChatLayout/issues/19