# OptionsPanelDelegate

    public protocol OptionsPanelDelegate : AnyObject

The delegate of an `OptionsPanel` object must adopt the `OptionsPanelDelegate` protocol to get notified on updates.

- `optionsPanel(_:didChangeTo:)`

  Tells the delegate the panel changes to a new option item.

  #### Declaration

  Swift

      func optionsPanel(_ panel: OptionsPanel, didChangeTo option: OptionItem)

  #### Parameters

  `panel` | The panel notifying the change of option item.
  `option` | The new option item.