Performs the haptic feedback described by one or more alignment feedback tokens.
- macOS 10.11+
One or more feedback tokens prepared for specific alignment locations by calling
Feedback Token For Movement(in: previous Point: aligned Point: default Point:)
Feedback Token For Horizontal Movement(in: previous X: aligned X: default X:)
alignment. Typically, no more than one feedback token per dimension (horizontal/vertical) should be provided.
Feedback Token For Vertical Movement(in: previous Y: aligned Y: default Y:)
The time, of type
NSHaptic, when the feedback should be provided to the user.
Feedback Performance Time
Call this method to initiate haptic feedback to the user. Pass it one or more alignment feedback tokens of type
NSAlignment and a time to execute of type
NSHaptic. Call this method immediately before moving the object to its new aligned position.