The example showing how to use MDF Internationalization's language
direction code was somewhat inefficient, calling the method twice on the
same string. Instead it should be called once and the result checked.
In manual testing, dropped overhead from 0.8% of Main Thread time to
0.4% while scrolling the example.
## The problem:
The Stereo cell example wasn't using the List Themer.
## The solution:
Make the Stereo cell example use the List Themer.
I didn't include before and after screenshots because there is no visual change.
Closes#5501.
There were two issues:
1) the -titleLabel and -detailLabel UILabels were not getting their -textColor set, despite the helper methods -defaultTitleLabelTextColor and -defaultDetailLabelTextColor defined in the file.
2) within -prepareForReuse, the -textColor and -numberOfLines properties on the -titleLabel and -detailLabel UILabels weren't getting reset.
These changes generalize List themers so that for the List component there is one themer per subsystem, each with one method per List Item class.
Closes#5356
* Four prototypes: (#4382)
Two have manual layout and two have auto layout.
Two have configurable supporting views, two don't.
* Manual Layout prototype 3
* Fix project by adding initial List Item Cell Demo
* Add other List Item example
* Make view properties readonly and make cellWidth private
* Make cellWidth public again and make more efficient
* Rename MDCListItemCell to MDCBasicStereoCell
* Rename to MDCSelfSizingStereoCell
* Small nits
* Set cellWidth in preferredLayoutAttributes
* Some Jeff feedback
* Extract layout code
* Delete all the prototypes from forever ago
* Fix copyright messages
* Get rid of __IPHONE_11_0 checks
* PR feedback
* Move layout to its own file
* Add dependencies
* Tweak documentation
* Fix copyright stanzas
* Clang format
* Move numberOfLines logic to cell