Ну, конечно, это зависит от запроса.
Для простых запросов, очень формальная схема добавления отступа является просто большей проблемой, чем это стоит и может на самом деле сделать код меньше читаемый, не больше. Но поскольку сложность выращивает Вас, должен начать быть более осторожным с тем, как Вы структурируете оператор, чтобы удостовериться, что это будет читаемо снова позже.
Generally you should move to Core Animation for 10.5+ code. NSViewAnimation
is fairly primitive and doesn't make as efficient use of the hardware. I can't think of any advantages of staying with NSViewAnimation
other than 10.4 compatibility.
There are some cases where Core Animation is not suitable. For example, you can't put a WebView in a layer-backed view without funky things happening.
Also, text fields in layer-backed views don't use subpixel anti-aliasing, which can be a deal breaker.
If you're not using layer-backed views then your example of just using the animatable property support is definitely easier than using NSAnimation.