I'm trying to move the origin of a custom view. If I directly set the new origin for the frame, everything is working fine as expected.
[MyView setFrameOrigin:NSMakePoint(0.5, 0.5)];
If I try to animate the movement with the proxy animator.
[[MyView animator] setFrameOrigin:NSMakePoint(0.5, 0.5)];
The new origin will be (1, 1) instead of (0.5, 0.5).
Am I doing something wrong?
Is animator
unable to handle 0.5 points?