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
Issue: some cell might have different static heights for each state of item. As a result now, I have to create a two copies of cell with different heights, because cell class only has ability to return it height from the static variable. I know I can use AutoLayout, but it actually much slower and I need to improve performance here.
I propose to deprecate this static variables:
Issue: some cell might have different static heights for each state of item. As a result now, I have to create a two copies of cell with different heights, because cell class only has ability to return it height from the static variable. I know I can use AutoLayout, but it actually much slower and I need to improve performance here.
I propose to deprecate this static variables:
And replace it with instance functions:
With this approach it is still possible to return static value, but in the same time much more flexible for user.
The text was updated successfully, but these errors were encountered: