[ad_1]
I am struggling to realize under cell design in Swift. Unsure if it is even potential??
I’ve a multi-row desk view with left and proper cell. Each cells show textual content which range in size. If textual content is actually lengthy and doesn’t match the cell, textual content on the left cell could be trimmed, however textual content in the fitting cell can by no means be trimmed or wrapped into 2 traces. Generally, textual content in left cell is longer than textual content in the fitting cell due to this fact I’ve arrange ratio about 70:30. Nonetheless in some odd instances, textual content in the fitting cell is simply too lengthy to suit into the cell with out wrapping it into 2 traces (or getting trimmed).
Questions:
Questioning, if there’s a method to change ratio between cells primarily based on the textual content size of the fitting cell?
Can I give precedence to left cell (to show as a lot textual content as potential), but when oddly lengthy textual content must be displayed in the fitting cell, then swap precedence to the fitting cell (to keep away from textual content in proper cell to be trimmed or wrapped to traces)?
Anticipated behaviour:
[ad_2]

