: class chnaged to : AnyObject for protocols

This commit is contained in:
Stuart Breckenridge
2021-02-06 07:06:45 +08:00
parent 5671497e72
commit 1e578828e9
37 changed files with 39 additions and 39 deletions

View File

@@ -16,7 +16,7 @@ extension Notification.Name {
static let appleSideBarDefaultIconSizeChanged = Notification.Name("AppleSideBarDefaultIconSizeChanged")
}
protocol SidebarDelegate: class {
protocol SidebarDelegate: AnyObject {
func sidebarSelectionDidChange(_: SidebarViewController, selectedObjects: [AnyObject]?)
func unreadCount(for: AnyObject) -> Int
func sidebarInvalidatedRestorationState(_: SidebarViewController)