Post

Replies

Boosts

Views

Activity

Reply to UITextView in collectionview cell on mac spikes cpu
I am receiving the same message in my debugger: [API] cannot add handler to 3 from 3 - dropping. However, this is for a SwiftUI project. I am using a LazyVGrid, so that may be connected to the UICollectionView, but I don't have any UITextView or similar instances in my views. XCode Version 14.1 (14B47b), Ventura 13.0. Maybe because the cells have text views in them, it is dropping handlers for gesture recognizers? My views have context menus on them which would also require gesture recognizers in the underlying API. Other than the Collection angle, that's the only connection I can see. However, the message seems pretty benign and I'm not getting the high CPU usage you are.
Nov ’22