MDCActivityIndicatorTransition

@interface MDCActivityIndicatorTransition : NSObject

Describes an animation that can be provided to an MDCActivityIndicator instance to perform before or after its standard cycle animation.

  • The animations to be performed by MDCActivityIndicator. In this block add CAAnimations to be animated before or after MDCActivityIndicator’s cycle animation. MDCActivityIndicator will trigger these animations and call completion after they complete.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nonnull)
        MDCActivityIndicatorAnimation animation;
  • The completion block to call after animation’s completion. This should be used to clean up any layers placed and animating on the MDCActivityIndicator.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) void (^)(void) completion;
  • The duration of the animation.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSTimeInterval duration;
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)init NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithCoder:(nonnull NSCoder *)aDecoder NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithAnimation:(_Nonnull MDCActivityIndicatorAnimation)animation
        NS_DESIGNATED_INITIALIZER;