Rightpoint / RZUtils

Rightpoint Commonly Used Tools
Other
123 stars 22 forks source link

Adding the animation Category. #11

Closed alexrrouse closed 10 years ago

alexrrouse commented 10 years ago

Adding a simple animation category to allow you to specify if you want the view to animate its changes or not.

ndonald2 commented 10 years ago

@arrouse Technically you can accomplish the same thing by passing 0 for the duration:

duration
The total duration of the animations, measured in seconds. If you specify a negative value or 0, the changes are made without animating them.

But I'm not sure whether the completion block is called. Do you know if that's the case?

alexrrouse commented 10 years ago

Just tried it out. It still does call the completion. closing.