Cocoa Touch에서 애니메이션이 어떻게 작동하는지 궁금합니다. 예를 들면 :[UIView beginAnimations]는 어떻게 작동합니까?
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:1.0];
view1.alpha = 1.0;
view2.frame.origin.x += 100;
[UIView commitAnimations];
어떻게 UIView
이 두 개의 뷰의 속성에 대한 변경 사항을 추적합니까?
KVO가 사용 된 것으로 의심 되나 beginAnimations
과 commitAnimations
통화 사이의 모든보기에 대한 변경 사항을 실제로 관찰합니까?
통찰력을 얻으실 수 있습니다!