add SensoryFeedback API documents#53
Merged
EngOmarElsayed merged 2 commits intoAvdLee:mainfrom Apr 1, 2026
Merged
Conversation
EngOmarElsayed
requested changes
Apr 1, 2026
swiftui-expert-skill/SKILL.md
Outdated
| - [ ] `ForEach` uses stable identity (never `.indices` for dynamic content) | ||
| - [ ] Constant number of views per `ForEach` element | ||
| - [ ] `.animation(_:value:)` always includes the `value` parameter | ||
| - [ ] SwiftUI haptics use `sensoryFeedback()` instead of UIKit feedback generators |
Collaborator
There was a problem hiding this comment.
there is no need for adding this in the skill file
swiftui-expert-skill/SKILL.md
Outdated
|
|
||
| - Consult `references/latest-apis.md` at the start of every task to avoid deprecated APIs | ||
| - Prefer native SwiftUI APIs over UIKit/AppKit bridging unless bridging is necessary | ||
| - Prefer `sensoryFeedback()` over UIKit feedback generators when working in SwiftUI views |
Collaborator
There was a problem hiding this comment.
nor this because the ai has this already
- Consult references/latest-apis.md at the start of every task to avoid deprecated APIs to it will always see the feedback modifier
Updated operating rules and best practices for SwiftUI development.
EngOmarElsayed
approved these changes
Apr 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add SensoryFeedback API documents.
issue: #52