https://developer.apple.com/documentation/uikit/uiviewpropertyanimator

A class that animates changes to views and allows the dynamic modification of those animations.

뷰에 애니메이션 효과를 적용하고 동적 수정을 가능하게 하는 클래스입니다.


Declaration

class UIViewPropertyAnimator : NSObject

Overview

A UIViewPropertyAnimator object lets you animate changes to views and dynamically modify your animations before they finish. With a property animator, you can run your animations from start to finish normally or you can turn them into interactive animations and control the timing yourself. The animator operates on animatable properties of views, such as the frame, center, alpha, and transform properties, creating the needed animations from the blocks you provide.

UIViewPropertyAnimator 객체를 사용하면 뷰에 대한 변경 사항을 애니메이션으로 처리하고 애니메이션이 끝나기 전에 동적으로 수정할 수 있습니다. property animator를 사용하면 애니메이션을 처음부터 끝까지 정상적으로 실행하거나 사용자와 상호 작용하는 애니메이션으로 만들거나, 타이밍을 직접 제어 할 수 있습니다. property animator는 프레임, 투명도 및 위치 프로퍼티와 같은 뷰의 애니메이션 속성에서 작동합니다.

When creating a property animator object, you specify the following:

property animator 객체를 만들 때 다음을 지정해야 합니다.