siteline / swiftui-introspect

Introspect underlying UIKit/AppKit components from SwiftUI
MIT License
5.59k stars 346 forks source link

Setting introspected collection view delegate on List breaks cells update. #433

Open priya88 opened 2 weeks ago

priya88 commented 2 weeks ago

Description

I saw one related issue to this: Setting scrollview delegate on List breaks cells update #426. Could be similar..can you please help with this?

Checklist

Expected behavior

List must behave as usual

Actual behavior

List does not UI properly

Steps to reproduce

Introspect list as collection view and set its delegate. Whenever view model publish any update and view renders then UI is broken.

Version information

1.3.0

Destination operating system

iOS16 and above

Xcode version information

Xcode 15

Swift Compiler version information

Swift 5.10
sergeirr commented 2 weeks ago

@priya88 Could you provide your code example?