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.
Copied from #26:
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.