AlignmentGuides: AppKit Haptic Feedback Filtering using NSAlignmentFeedbackFilter
Last Revision: | |
Build Requirements: | Xcode 8.0, macOS 10.12 SDK |
Runtime Requirements: | macOS 10.11 |
Shows how to provide haptic feedback in your app for hardware that supports Force Click. Haptic feedback is useful for many tasks, such as dragging shapes on a canvas. For example, your app could provide haptic feedback to let the user know when the shape is properly aligned. This sample demonstrates how to provide enough information to the system so that extraneous feedback can be suppressed, creating a better user experience.
Copyright © 2017 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2017-09-19