File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 88
99/// Represents something that can be “disposed”, usually associated with freeing
1010/// resources or canceling work.
11- public protocol Disposable : class {
11+ public protocol Disposable : AnyObject {
1212 /// Whether this disposable has been disposed already.
1313 var isDisposed : Bool { get }
1414
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import Glibc
1212///
1313/// Only classes can conform to this protocol, because having a signal
1414/// for changes over time implies the origin must have a unique identity.
15- public protocol PropertyProtocol : class , BindingSource {
15+ public protocol PropertyProtocol : AnyObject , BindingSource {
1616 /// The current value of the property.
1717 var value : Value { get }
1818
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import Foundation
1414#endif
1515
1616/// Represents a serial queue of work items.
17- public protocol Scheduler : class {
17+ public protocol Scheduler : AnyObject {
1818 /// Enqueues an action on the scheduler.
1919 ///
2020 /// When the work is executed depends on the scheduler in use.
Original file line number Diff line number Diff line change @@ -415,7 +415,7 @@ extension Signal {
415415 }
416416}
417417
418- public protocol SignalProtocol : class {
418+ public protocol SignalProtocol : AnyObject {
419419 /// The type of values being sent by `self`.
420420 associatedtype Value
421421
@@ -1662,7 +1662,7 @@ private enum ThrottleWhileState<Value> {
16621662 }
16631663}
16641664
1665- private protocol SignalAggregateStrategy : class {
1665+ private protocol SignalAggregateStrategy : AnyObject {
16661666 /// Update the latest value of the signal at `position` to be `value`.
16671667 ///
16681668 /// - parameters:
You can’t perform that action at this time.
0 commit comments