mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 16:26:04 +00:00
Mark classes as final when they can be, to communicate intent (don’t subclass these). Fix #4751.
This commit is contained in:
1 parent
c6585994fb
commit
4b7ea6d920
170 files changed
+188
-188
No files matched your search
@@ -9,7 +9,7 @@
|
||||
import Foundation
|
||||
import WebKit
|
||||
|
||||
class WrapperScriptMessageHandler: NSObject, WKScriptMessageHandler {
|
||||
final class WrapperScriptMessageHandler: NSObject, WKScriptMessageHandler {
|
||||
|
||||
// We need to wrap a message handler to prevent a circlular reference
|
||||
private weak var handler: WKScriptMessageHandler?
|
||||
|
||||
Reference in new issue
Block a user