Skip to content

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

License

Notifications You must be signed in to change notification settings

apadalko/RadialTransition_swift

Repository files navigation

RadialTransition_swift

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

Demo

alt tag

Usage

for push simple use

   self.navigationController?.radialPushViewController(SecondViewController(nibName: "SecondViewController", bundle: nil),startFrame: CGRectMake(self.view.frame.size.width, 0, 0, 0),duration:0.9,transitionCompletion: { () -> Void in
   
   })

for pop use

    self.navigationController?.radialPopViewController(startFrame:CGRectMake(self.view.frame.size.width/2, self.view.frame.size.height, 0, 0),duration: 0.9,transitionCompletion: { () -> Void in
            
   })

to enable swipe to back just use

self.navigationController?.enableRadialSwipe()
  

to disable

self.navigationController?.disableRadialSwipe()

Requirements

ios 7 +,xcode 6+

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. (swift)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages