Shimmer is a super-light modifier that adds a shimmering effect to any SwiftUI View, for example, to show that an operation is in progress. It works well on light and dark modes, and across iOS, macOS, tvOS, watchOS and visionOS.
If you run the most basic example of this project on iOS 17, the CPU spikes and eventually leads to the application crashing. Perhaps this is because under the hood it is using AnimatableModifier, which is now deprecated.
struct ContentView: View {
var body: some View {
Text("Testing")
.shimmering()
}
}
If you run the most basic example of this project on iOS 17, the CPU spikes and eventually leads to the application crashing. Perhaps this is because under the hood it is using
AnimatableModifier
, which is now deprecated.