The interface for handling content display and editing in the list view of a macOS Today widget.
- macOS 10.10+
NCWidget protocol defines methods that handle content display and editing in the list view of a Today widget. The
delegate of an
NCWidget must adopt the
The single required method in the protocol,
widget, creates a view controller for the contents of one row in the widget’s list view. Optional methods in the
NCWidget protocol support editing actions, such as adding a new list item and reordering or deleting list rows.