NPCubeTransition

Category for cube transition between two uiviews. Support up and down flip atm. Just need to one line of code. iOS 5 banner notification-like effect.

Stars
10
Committers
1

Requirement: iOS 6

Screenshot

How to use

  1. Add folder NPCubeTransition to your project in XCode.

  2. Link binary with QuartzCore.framework

  3.  #import "UIView+NPCubeTransition.h"
    
  4. Add this line in your code to animate

     [UIView cubeTransitionFromView:view1 toView:view2 direction:direction];
    

where direction can be either CubeTransitionDirectionUp or CubeTransitionDirectionDown.