enforced to anyobject for reference type

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-11-18 10:02:54 -06:00
parent f255f9fd21
commit deb21d8916
2 changed files with 2 additions and 2 deletions

View File

@ -7,6 +7,6 @@
import Foundation import Foundation
public protocol Disabling { public protocol Disabling: AnyObject {
var disabled: Bool { get set } var disabled: Bool { get set }
} }

View File

@ -16,6 +16,6 @@ public enum Surface: String, Codable, Equatable {
} }
} }
public protocol Surfaceable { public protocol Surfaceable: AnyObject {
var surface: Surface { get set } var surface: Surface { get set }
} }