green-code-initiative / ecoCode-ios

Reduce the environmental footprint of your Swift-based iOS apps with SonarQube
https://ecocode.io
GNU General Public License v3.0
4 stars 5 forks source link

Feature/esob007 animation free #19

Closed jduigoudev closed 8 months ago

jduigoudev commented 10 months ago

Related to the Apple iOS documentation : https://developer.apple.com/documentation/swiftui/animations

You can check if you have any animations : *If you call to the withAnimation(::) global function.

If you cal animation(_:value:) view modifier to the view.

If you animate changes to a Binding by using the binding’s animation(_:) method.

Need to check UIKit and SwiftUI :

Animations in UIKit:

sonarcloud[bot] commented 8 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud