Best way to avoid memory leaks for multiple buttons in a UITableViewCell

I have a set of buttons in a UITableViewCell. I populated them with the whole cellForRowAtIndexPath method, but my tableview is becoming sluggish, although I released everything.

Should I use a custom UITableViewCell to populate? Any suggestions on how to make this as smooth as possible for the user would be great.

Screenshot below.

enter image description here

0
source share
1 answer

/ , drawRect:. , , , , , UITapGestureRecognizer ( , , x, y).

, UITableViewCell. , UIView, , , , .

0

Source: https://habr.com/ru/post/1766880/


All Articles