Hello Devs, I'm currently trying to implement a UICollectionView.
I've created a custom cellview that contains 3 labels and nothing else, pretty basic
The issue I'm having is I'm basically refreshing my data at 5Hz, but by refreshing the CollectionView with reload method at 5 times a second , it makes the collectionview very laggy when scrolling and consumes large amounts of memory. Is there a proper way of doing this? I only have 10 cells in my collection view,
The reason I'm refreshing this data fast is because it gathers data over bluetooth and displaying live data on screen.
I've created a custom cellview that contains 3 labels and nothing else, pretty basic
The issue I'm having is I'm basically refreshing my data at 5Hz, but by refreshing the CollectionView with reload method at 5 times a second , it makes the collectionview very laggy when scrolling and consumes large amounts of memory. Is there a proper way of doing this? I only have 10 cells in my collection view,
The reason I'm refreshing this data fast is because it gathers data over bluetooth and displaying live data on screen.