Get Updates By E-mail 

Article Written By:
Johann Dowa

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 framework.

[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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments