An Add-On Library For The Pop Animation Framework Making The Syntax Much More Concise

Last week I mentioned the Pop animation framework built from the Paper app allowing you to easily create similar spring and decay animations.

Here’s an add-on library for the Pop framework from Matthew Cheok that makes the syntax for the Pop framework considerably more concise, and adds blocks base grouping and callbacks called Pop+MCAnimate.

This example shows the much off the Pop+MCAnimate blocks based additions made to the Pop frameowk.

[NSObject animate:^{
  self.boxView.spring.alpha = 0.5;
  self.boxView.spring.bounds = CGRectMake(0, 0, 200, 200);
  self.boxView.spring.backgroundColor = [UIColor blueColor];
} completion:^(BOOL finished) {
  self.boxView.alpha = 1;
  self.boxView.spring.bounds = CGRectMake(0, 0, 100, 100);
  self.boxView.spring.backgroundColor = [UIColor redColor];
  self.boxView.spring.center = viewCenter;
}];

You can find POP+MCAnimate on Github here.

You can also read more about Pop+MCAnimate on Matthew’s blog.

A nice add-on for working with the Pop framework.

FacebookTwitterDiggStumbleUponGoogle Plus

Original article: An Add-On Library For The Pop Animation Framework Making The Syntax Much More Concise

©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *