Skip to content

Great iOS radial (circle) animation transition for navigation controller, with custom back swipe. ObjC

License

Notifications You must be signed in to change notification settings

rajeshm20/RadialTransition_objC

 
 

Repository files navigation

RadialTransition_objC

Great ios radial transition for navigation controller, with custom back swipe.

Demo

alt tag

Usage

just import

#import "UINavigationController+RadialTransaction.h"

for push simple use

[self.navigationController radialPushViewController:[[UIViewController alloc]init] comlititionBlock:^{
        
}];
 //or   
[self.navigationController radialPushViewController:[[UIViewController alloc]init] withDuration:1 comlititionBlock:^{
        
}];
 //or  
[self.navigationController radialPushViewController:[[UIViewController alloc]init] withDuration:1 withStartFrame:CGRectMake(self.view.frame.size.width, 0, 0, 0) comlititionBlock:^{
        
}];

for pop use

[self.navigationController radialPopViewControllerWithComlititionBlock:^{
        
}];
 //or
[self.navigationController radialPopViewControllerWithDuration:0.9 comlititionBlock:^{
        
}];
 //or   
[self.navigationController radialPopViewControllerWithDuration:0.9 withStartFrame:CGRectMake(self.view.frame.size.width/2, self.view.frame.size.height, 0, 0) comlititionBlock:^{
        
}];

to enable swipe to back just use

[self.navigationController enableRadialSwipe];

to disable

[self.navigationController disableRadialSwipe];

if you want to change back swipe speed you may set new default duration

[UINavigationController setDefaultRadialAnimationTime:11];

Requirements

ios 7 +,xcode 5+

Futher Work

-add TabbarController transaction -add radial circle options (shadow,color etc) -other improvements

About

Great iOS radial (circle) animation transition for navigation controller, with custom back swipe. ObjC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%