Open Biinngg opened 6 years ago
Oh, this looks like a good improvement, thanks!
I have a couple of points:
$0.isLayoutKitView || $0.viewReuseId != nil
or is it sufficient to just check $0.isLayoutKitView
?Thank you!
Hi Sergei, Thanks for your review. Your points sound good. I updated my PR to include those changes. Thanks!
Only walk first level of subviews that are created by LayoutKit. If a subview isn't created by LayoutKit, then there is no need to walk subviews of it, as they must not be created by this layout.