• Stars
    star
    149
  • Rank 247,695 (Top 5 %)
  • Language
    Swift
  • License
    MIT License
  • Created about 10 years ago
  • Updated about 8 years ago

Reviews

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

Repository Details

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

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