• Stars
    star
    327
  • Rank 128,686 (Top 3 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ARTransitionAnimator is a simple class which custom UIViewController transition animation.

ARTransitionAnimator

ARTransitionAnimator is a simple class which custom UIViewController transition animation.

demo Gifs

Usage

 self.transitionAnimator = [[ARTransitionAnimator alloc] init];
 self.transitionAnimator.transitionDuration = 0.6;
 self.transitionAnimator.transitionStyle = ARTransitionStyleMaterial|ARTransitionStyleLeftToRight;

 FirstViewController *viewController = [[FirstViewController alloc] initWithNibName:@"FirstViewController" bundle:nil];
 self.navigationController.delegate = self.transitionAnimator; // set delegate
 [self.navigationController pushViewController:viewController animated:YES];

Install

TO DO

  • add more animations

  • Improve the show of animation

现在的版本只是写了很少的一部分,有很多的地方需要改进,由于最近项目上时间比较紧,耽搁了一些开源代码的进度,希望大家可以一起不断的完善这些代码。可以到我的github主页'https://github.com/AugustRush' fork 我的其他开源代码,帮助我不断的完善和改进。