NotificationCenter Changes for Swift
NotificationCenter
Modified NCUpdateResult [enum]
Raw Value Type | |
---|---|
From | -- |
To | UInt |
Modified NCWidgetListViewController
Declaration | |
---|---|
From | class NCWidgetListViewController : NSViewController { @IBOutlet weak var delegate: NCWidgetListViewDelegate! var contents: [AnyObject]! var minimumVisibleRowCount: Int var hasDividerLines: Bool var editing: Bool var showsAddButtonWhenEditing: Bool func viewControllerAtRow(_ row: Int, makeIfNecessary makeIfNecesary: Bool) -> NSViewController! func rowForViewController(_ viewController: NSViewController!) -> Int } |
To | class NCWidgetListViewController : NSViewController { @IBOutlet weak var delegate: NCWidgetListViewDelegate? var contents: [AnyObject]! var minimumVisibleRowCount: Int var hasDividerLines: Bool var editing: Bool var showsAddButtonWhenEditing: Bool func viewControllerAtRow(_ row: Int, makeIfNecessary makeIfNecesary: Bool) -> NSViewController! func rowForViewController(_ viewController: NSViewController!) -> Int } |
Modified NCWidgetListViewController.delegate
Declaration | |
---|---|
From | @IBOutlet weak var delegate: NCWidgetListViewDelegate! |
To | @IBOutlet weak var delegate: NCWidgetListViewDelegate? |
Modified NCWidgetSearchViewController
Declaration | |
---|---|
From | class NCWidgetSearchViewController : NSViewController { @IBOutlet weak var delegate: NCWidgetSearchViewDelegate! var searchResults: [AnyObject]! var searchDescription: String! var searchResultsPlaceholderString: String! var searchResultKeyPath: String! } |
To | class NCWidgetSearchViewController : NSViewController { @IBOutlet weak var delegate: NCWidgetSearchViewDelegate? var searchResults: [AnyObject]! var searchDescription: String! var searchResultsPlaceholderString: String! var searchResultKeyPath: String! } |
Declaration | |
---|---|
From | @IBOutlet weak var delegate: NCWidgetSearchViewDelegate! |
To | @IBOutlet weak var delegate: NCWidgetSearchViewDelegate? |