You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/MotionMachine.swift
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ import QuartzCore
33
33
/**
34
34
* This protocol declares methods and properties that must be adopted by custom motion classes in order to participate in the MotionMachine ecosystem. All standard MotionMachine motion classes conform to this protocol.
35
35
*/
36
-
publicprotocolMoveable:class{
36
+
publicprotocolMoveable:AnyObject{
37
37
38
38
// Controlling a motion
39
39
@@ -133,7 +133,7 @@ public protocol MoveableCollection {
133
133
134
134
// MARK: PropertyCollection protocol
135
135
136
-
publicprotocolPropertyCollection:class{
136
+
publicprotocolPropertyCollection:AnyObject{
137
137
138
138
/**
139
139
* A collection of `PropertyData` instances.
@@ -181,7 +181,7 @@ public protocol Additive: PropertyCollection {
181
181
/**
182
182
* This protocol defines methods that are called on delegate objects which listen for update beats from a `Tempo` object.
183
183
*/
184
-
publicprotocolTempoDelegate:class{
184
+
publicprotocolTempoDelegate:AnyObject{
185
185
186
186
/**
187
187
* Sends an update beat that should prompt motion classes to recalculate movement values.
@@ -219,7 +219,7 @@ public protocol TempoDriven: TempoDelegate {
219
219
// MARK: MotionUpdateDelegate protocol
220
220
221
221
/// This delegate protocol defines a status update method in order for `Moveable` objects to communicate with one another. MotionMachine collection classes use this protocol method to keep track of child motion status changes. Any custom `Moveable` classes must send `MoveableStatus` status updates using this protocol.
222
-
publicprotocolMotionUpdateDelegate:class{
222
+
publicprotocolMotionUpdateDelegate:AnyObject{
223
223
224
224
/**
225
225
* This delegate method is called when a `Moveable` object has updated its status.
0 commit comments