Protocols
The following protocols are available globally.
- 
                  
                  This protocol represents physics solving systems that calculate the positions of values over time, and is used in See morePhysicsMotionandPathPhysicsMotionto update property values.DeclarationSwift @MainActor public protocol PhysicsSolving
- 
                  
                  This protocol declares methods and properties that must be adopted by custom See moreMoveableclasses who participate in additive animations with other MotionMachine classes.DeclarationSwift @MainActor public protocol Additive<TargetType> : PropertyCollection, Equatable, Identifiable
- 
                  
                  This delegate protocol defines a status update method in order for See moreMoveableobjects to communicate with one another. MotionMachine collection classes use this protocol method to keep track of child motion status changes. Any customMoveableclasses must sendMoveableStatusstatus updates using this protocol.DeclarationSwift @MainActor public protocol MotionUpdateDelegate : AnyObject
- 
                  
                  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. See moreDeclarationSwift @MainActor public protocol Moveable : AnyObject
- 
                  
                  This protocol declares methods and properties that must be adopted by custom classes which control other See moreMoveableclasses in order to participate in the MotionMachine ecosystem. All standard MotionMachine collection classes (MotionSequence,MotionGroup) conform to this protocol.DeclarationSwift @MainActor public protocol MoveableCollection
- 
                  
                  This protocol represents an object that holds a collection of See morePropertyDataobjects, such as aMotionclass.DeclarationSwift @MainActor public protocol PropertyCollection<TargetType> : AnyObject
- 
                  
                  Provides delegate updates when property values change. See moreDeclarationSwift @MainActor public protocol PropertyDataDelegate : AnyObject
- 
                  
                  This protocol defines methods that are called on delegate objects which listen for update beats from a See moreTempoProvidingobject.DeclarationSwift @MainActor public protocol TempoDelegate : AnyObject
- 
                  
                  This protocol represents objects that subscribe to a TempoProvidingobject’s update beats. Every movement of a value occurs because time has changed. These beats drive the motion, sending timestamps by which delta values can be calculated. All standard MotionMachine motion classes conform to this protocol.See moreImportant While you aren’t required to implement this protocol in order to update your own customMoveableclasses, it is the preferred way to interact with the MotionMachine ecosystem unless your requirements prevent usingTempoProvidingobjects for updating your value interpolations.DeclarationSwift @MainActor public protocol TempoDriven : TempoDelegate
- 
                  
                  This protocol represents an object that sends a tempo of updates to motion objects. See moreMoveableclasses use these beats to calculate new motion interpolation values. Objects that conform to this protocol should use theTempoDelegate‘s methodtempoBeatUpdateto send incremental timestamps as necessary.DeclarationSwift @MainActor public protocol TempoProviding
- 
                  
                  This protocol defines methods and properties that must be adopted for any value assistant. See moreDeclarationSwift @MainActor public protocol ValueAssistant<TargetType>
 View on GitHub
            View on GitHub
           Protocols  Reference
      Protocols  Reference