Non-animated updates shouldn't wait until the next turn of the run loop
jtrivedi opened this issue · comments
let v = UIView()
v.bounds.size = CGSize(width: 50, height: 50)
v.animator.scale = CGPoint(x: 0.5, y: 0.5)
print(v.frame.size)
This will print (50, 50)
instead of (25, 25)
until the next turn of the run loop. We shouldn't require the display link to fire to update things non-animatedly.