Questions tagged [swiftui-animation]

228 questions
-1
votes
1 answer

Unable to animate views in WindowGroup SwiftUI Xcode 13.1

I'm a bit stumped at the moment, since I can't for the life of me figure out why my view isn't being animated in and out of a view. I'm currently using Xcode 13.1 & SwiftUI 3.0. I'm currently trying to animate a view sliding up from the bottom when…
Tunds
  • 1,804
  • 2
  • 15
  • 30
-1
votes
1 answer

SwiftUI how to chain 2 animations?

I'm trying to animate a line moving in a circle then using this library to add a second shimmer animation. The problem is they never both work, either one or the other will animate depending how if conditionIsTrue how can I chain them so that they…
GarySabo
  • 5,806
  • 5
  • 49
  • 124
-1
votes
1 answer

How can I implement a slowly sliding image that has been clipped to shape using SwiftUI?

So far I have this circle and image inside it on my view: and here is the code for it: Image(chosenImage) .resizable() .scaledToFit() .clipShape(Circle()) .shadow(radius: 20) .overlay(Circle().stroke(Color.white, lineWidth:…
Hubert Rzeminski
  • 469
  • 4
  • 15
1 2 3
15
16