You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NSCollectionViewDiffableDataSource isn't MainThreadOnly, so does not implement NSCollectionViewDataSource since that has MainThreadOnly as a super trait.
I'm not entirely sure to resolve that? Maybe generic types need to implement MainThreadOnly if all their generics do? Though this would also allow NSArray<NSVIew> to be MainThreadOnly, which isn't desirable, since that would allow <NSArray<NSView>>::new().mtm().
NSCollectionViewDiffableDataSource
isn'tMainThreadOnly
, so does not implementNSCollectionViewDataSource
since that hasMainThreadOnly
as a super trait.I'm not entirely sure to resolve that? Maybe generic types need to implement MainThreadOnly if all their generics do? Though this would also allow
NSArray<NSVIew>
to beMainThreadOnly
, which isn't desirable, since that would allow<NSArray<NSView>>::new().mtm()
.See also discussion on Matrix.
The text was updated successfully, but these errors were encountered: