Latest 0.1.1
License BSD 3-Clause
Platforms ios 5.0, requires ARC
Dependencies MCUIImageAdvanced

Build Status
Coverage Status
Badge w/ Version
Badge w/ Platform

UIImageView alternative for animations that doesn’t need to load all the images in memory at once and provide a callback when animation is done.

Example Usage

- (void)funWithAnimations
    Load 48 images in images array for animation.
  NSUInteger quantity = 48;
  NSMutableArray* images = [@[] mutableCopy];
  for (NSUInteger index=1; index<=quantity; index++) {
    NSString* imageName = [NSString stringWithFormat:@"load%04d.png", index];
    [images addObject:imageName];

    Create the animation view and use it.
  MCAnimationView* animationView = [[MCAnimationView alloc] initWithFrame:CGRectZero];
  [animationView setAnimation:images];
  [animationView setAnimationDuration:2.0f]; // 2 seconds,
  [self.view addSubview: animationView];

    Start the animation
  [animationView playAnimationRepeatCount:5 willPlayBlock:^(NSUInteger repetition) {
    // Animation will play
  } didPlayBlock:^(NSUInteger repetition) {
    // Animation done playing

    When you're done playing it.
  [animationView stopAnimations];

Adding to your project

If you’re using CocoaPods, there’s nothing simpler.
Add the following to your Podfile
and run pod install

pod 'MCAnimationView', :git => ''

Don’t forget to #import "MCAnimationView.h" where it’s needed.


MCAnimationView is © 2013-2015 Mirego and may be freely
distributed under the New BSD license.
See the file.

About Mirego

Mirego is a team of passionate people who believe that work is a place where you can innovate and have fun. We’re a team of talented people who imagine and build beautiful Web and mobile applications. We come together to share ideas and change the world.

We also love open-source software and we try to give back to the community as much as we can.

Latest podspec

    "name": "MCAnimationView",
    "version": "0.1.1",
    "license": "BSD 3-Clause",
    "summary": "A UIImageView alternative for better animations",
    "description": "UIImageView alternative for animations that doesn't need to load all the images in memory at once and provide a callback when animation is done",
    "homepage": "",
    "authors": {
        "Mirego, Inc.": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.1.1"
    "source_files": "MCAnimationView/*.{h,m}",
    "requires_arc": true,
    "dependencies": {
        "MCUIImageAdvanced": []
    "platforms": {
        "ios": "5.0"

Pin It on Pinterest

Share This