-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Swift version for EC528 #314
base: main
Are you sure you want to change the base?
Conversation
Shaking or vibrating an iOS device is possible using `UIFeedbackGenerator`. | ||
Behind this effect stands a specific hardware component, the Haptic Engine, which consumes power. As a consequence, its usage should be carefully considered, especially if its added value is not clear. | ||
|
||
== Noncompliant Code Example |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok for "non compliant example" ... but no "compliant example" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no there is no compliant example because the compliant example is not to use it at all :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe write it explicitly in the description at the top, no ?
Shaking or vibrating an iOS device is possible using `UIFeedbackGenerator`. | ||
Behind this effect stands a specific hardware component, the Haptic Engine, which consumes power. As a consequence, its usage should be carefully considered, especially if its added value is not clear. | ||
|
||
== Noncompliant Code Example |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe write it explicitly in the description at the top, no ?
This PR has been automatically marked as stale because it has no activity for 60 days. |
A port of EC528 rule.
This rule already exists for Android / Java.
Addresses issue #313