init(label:value:)
Creates new custom content with a label and value.
Declaration
convenience init(label: String, value: String)Parameters
- label:
A localized string that identifies the label for this content.
- value:
A localized string that provides a value for the label.