Code example of Custom easing animations for auto layouts