What would be the best action to use to calculate a value based on other bound object values (e.g. FullName or FormattedAddress) and set it to the subtitle of a cell?

Set subtitle based on bound object value
Started by
RaduGrama
, Apr 05 2016 09:42 AM
2 replies to this topic
#1
Posted 05 April 2016 - 09:42 AM
#2
Posted 05 April 2016 - 09:47 AM
Hi Radu,
Best place is cellActions.didLayoutSubviews. In case these values change in a way that you need to update them whenever the cell is displayed, cellActions.willDisplay would be the better choice. If you're not sure, start with didLayoutSubviews.
#3
Posted 05 April 2016 - 11:25 AM
Thank you, Tarek. It worked with cellActions.willDisplay, it worked intermittently with cellActions.didLayoutSubviews.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users