Contents

widgetList(_:didRemoveRow:)

Tells the delegate that the specified row was removed from the list.

Declaration

optional func widgetList(_ list: NCWidgetListViewController, didRemoveRow row: Int)

Parameters

  • list:

    The widget’s list view controller.

  • row:

    The row that was removed.

Discussion

List item deletion is not enabled unless the delegate implements this method and widgetList(_:shouldRemoveRow:). The item represented by row is removed from the list view controller’s contents array before this method is called.

See Also

Adding and Deleting Rows