Contents

init(title:identifier:subtitle:selected:requiredOptionsIdentifiers:)

Creates and initializes a collaboration option object with the provided values.

Declaration

convenience init(title: String, identifier: String, subtitle: String = "", selected: Bool = false, requiredOptionsIdentifiers: [String] = [])

Parameters

  • title:

    A localized string the system displays as a title.

  • identifier:

    A unique identifier.

  • subtitle:

    A localized string the system displays as a subtitle.

  • selected:

    A Boolean value that represents the selected state of an option.

  • requiredOptionsIdentifiers:

    An array of option identifiers.

See Also

Creating collaboration options