Documentation Archive Developer
Search

NotificationCenter Changes

NotificationCenter

Added NSViewController.presentViewControllerInWidget(NSViewController!)
Modified NCWidgetListViewController.delegate
Declaration
From
@IBOutlet var delegate: NCWidgetListViewDelegate!
To
@IBOutlet weak var delegate: NCWidgetListViewDelegate!

Modified NCWidgetListViewDelegate.widgetList(NCWidgetListViewController!, didRemoveRow: Int)
Optional
From--
Toyes

Modified NCWidgetListViewDelegate.widgetList(NCWidgetListViewController!, didReorderRow: Int, toRow: Int)
Optional
From--
Toyes

Modified NCWidgetListViewDelegate.widgetList(NCWidgetListViewController!, shouldRemoveRow: Int) -> Bool
Optional
From--
Toyes

Modified NCWidgetListViewDelegate.widgetList(NCWidgetListViewController!, shouldReorderRow: Int) -> Bool
Optional
From--
Toyes

Modified NCWidgetListViewDelegate.widgetListPerformAddAction(NCWidgetListViewController!)
Optional
From--
Toyes

Modified NCWidgetProviding.widgetAllowsEditing
Optional
From--
Toyes

Modified NCWidgetProviding.widgetDidBeginEditing()
Optional
From--
Toyes

Modified NCWidgetProviding.widgetDidEndEditing()
Optional
From--
Toyes

Modified NCWidgetProviding.widgetMarginInsetsForProposedMarginInsets(NSEdgeInsets) -> NSEdgeInsets
Optional
From--
Toyes

Modified NCWidgetProviding.widgetPerformUpdateWithCompletionHandler(((NCUpdateResult) -> Void)!)
Optional
From--
Toyes

Modified NCWidgetSearchViewController.delegate
Declaration
From
@IBOutlet var delegate: NCWidgetSearchViewDelegate!
To
@IBOutlet weak var delegate: NCWidgetSearchViewDelegate!