josephap
josephap

Reputation: 2285

Bizarre Animation with UIDynamics After Delay

The Details:

The Problem:

The timing of the animations is bizarre. For example:

What is going on here?

enter image description here

Upvotes: 0

Views: 69

Answers (1)

josephap
josephap

Reputation: 2285

Using Timer (Swift) or NSTimer (Objective-C) instead of GCD (Grand Central Dispatch) is allowing me to make these nuanced delays in animations with expected behavior.

enter image description here

However, I do not know why this works. I greatly welcome explanations as to what is happening under the hood or if it is possible to achieve the same effect with GCD.

Upvotes: 0

Related Questions