CADisplayLink to the rescue

Yesterday I wasted several hours trying to animate both origin and size of a view’s frame. No matter what I tried, the size would always snap to the final value at the start of the animation. Today I said screw it and used CADisplayLink to perform the animation. Finally worked.