Created by Jamz Tang at 1 September 2011
Typically you like to do something like below when you wanted to remove a view from its parent view.
Sometimes it's not that please for a user to see an UI component disappearing suddenly. You'd then consider adding some transition effects, and here's a little code snippet in the UIView+JTRemoveAnimated category for how you can get a fade out effect on view removal.
So from now on, you just needed to do this to fade out any UIViews
Clone this repository:
git clone git://gist.github.com/1259860.git UIView+JTRemoveAnimated
If you think this is useful, share this article with your friends :)blog comments powered by Disqus