Use a Swift name for rs_performSelectorCoalesced — make it performSelectorCoalesced:with:delay:.

This commit is contained in:
Brent Simmons
2017-11-19 11:42:22 -08:00
parent 200ff61f6a
commit 911e992b76
3 changed files with 4 additions and 3 deletions

View File

@@ -70,7 +70,7 @@ class MainWindowController : NSWindowController, NSUserInterfaceValidations {
@objc func refreshProgressDidChange(_ note: Notification) {
rs_performSelectorCoalesced(#selector(MainWindowController.makeToolbarValidate(_:)), with: nil, afterDelay: 0.1)
performSelectorCoalesced(#selector(MainWindowController.makeToolbarValidate(_:)), with: nil, delay: 0.1)
}
@objc func unreadCountDidChange(_ note: Notification) {