UIView(Wriggle) Category Reference

Declared in UIView+Wriggle.h

Overview

UIView wriggle animation.

  wriggleDistance

The distance that the view should move during a wriggle animation.

@property (nonatomic) CGFloat wriggleDistance

Declared In

UIView+Wriggle.h

  wriggleDuration

The duration of the wriggle animation.

@property (nonatomic) NSTimeInterval wriggleDuration

Declared In

UIView+Wriggle.h

– wriggleWithCompletion:

Performs a wriggle left and right animation.

- (void)wriggleWithCompletion:(dispatch_block_t)completion

Parameters

completion

An optional block to be called when the animation is complete.

Declared In

UIView+Wriggle.h

– wriggleLeftWithCompletion:

Performs a wriggle left animation.

- (void)wriggleLeftWithCompletion:(dispatch_block_t)completion

Parameters

completion

An optional block to be called when the animation is complete.

Declared In

UIView+Wriggle.h

– wriggleRightWithCompletion:

Performs a wriggle right animation.

- (void)wriggleRightWithCompletion:(dispatch_block_t)completion

Parameters

completion

An optional block to be called when the animation is complete.

Declared In

UIView+Wriggle.h