Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 737 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 737 Bytes

#Animating View

##Description This is a simple project designed to demonstrate the use of the NSAnimatablePropertyContainer protocol in order to simultaneously animate custom properties of an object.

The app consists of a window with a custom view and a button. When you press the button, a "ball" in the view animates to a new position, with the x and y values animating simultaneously.

Note that you can press the Animate button as often as you like, the animation proxy will automatically halt the old animation and immediately animate the object to a new location.