FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
UIView(Animation) Category Reference

UIView animation shortcuts. More...

#import <UIView.h>

Instance Methods

(void) - setHidden:animated:
 Set whether the view is hidden. More...
 

Class Methods

(void) + animateWithDefaultDurationAnimations:
 Animate changes to one or more views using the UIKit deafult animation duration UIAViewAnimationDefaultDuraton. More...
 

Detailed Description

UIView animation shortcuts.

Method Documentation

+ (void) animateWithDefaultDurationAnimations: (UIAViewAnimationBlock animations

Animate changes to one or more views using the UIKit deafult animation duration UIAViewAnimationDefaultDuraton.

Parameters
animationsA block object containing the changes to commit to the views. This is where you programmatically change any animatable properties of the views in your view hierarchy. This block takes no parameters and has no return value. This parameter must not be NULL.
This method performs the specified animations immediately using the UIViewAnimationOptionCurveEaseInOut and UIViewAnimationOptionTransitionNone animation options.
During an animation, user interactions are temporarily disabled for the views being animated. (Prior to iOS 5, user interactions are disabled for the entire application.)
See also
animateWithDuration:animations:
- (void) setHidden: (BOOL)  hidden
animated: (BOOL)  animated 

Set whether the view is hidden.

If 'animated' property is NO, this method calls -setHidden:; Otherwise, when starting, object's 'hidden' property is set to NO. If given hidden parameter is YES, 'hidden' property is set to YES after end of animation. This may cause confliction with other animations or accessors.

Parameters
hiddenIf YES, the view become hidden; otherwise, NO.
animatedIf YES, animates the transition; otherwise, does not.
See also
hidden

The documentation for this category was generated from the following file: