init(text:detailText:)
Creates a list item with primary and secondary text.
Declaration
init(text: String?, detailText: String?)Parameters
- text:
The primary text to show in the list item cell.
- detailText:
Additional text to display below the primary text in the list item cell.
Return Value
A newly initialized list item.