I'm struggling to achieve below cell design in Swift. Not sure if it's even possible??
I have a multi-row table view with left and right cell. Both cells display text which vary in length. If text is really long and does not fit the cell, text on the left cell can be trimmed, but text in the right cell can never be trimmed or wrapped into 2 lines. In general, text in left cell is longer than text in the right cell therefore I have set up ratio about 70:30. However in some odd cases, text in the right cell is too long to fit into the cell without wrapping it into 2 lines (or getting trimmed).
Questions:
Wondering, if there is a way to change ratio between cells based on the text length of the right cell?
Can I give priority to left cell (to display as much text as possible), but if oddly long text needs to be displayed in the right cell, then switch priority to the right cell (to avoid text in right cell to be trimmed or wrapped to lines)?
Expected behaviour: