Skip to content

Commit

Permalink
Circular Transition Animation
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitkotie committed Dec 9, 2017
1 parent c7dad72 commit a54315d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion Circular Transition Animation/CircularTransition.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ extension CircularTransition:UIViewControllerAnimatedTransitioning{

circle = UIView()
circle.frame = frameForCircle(withViewCenter: viewCenter, size: viewSize, startingPoint: startingPoint)
//circle.frame = frameForCircle(withViewCenter: viewCenter, size: viewSize, startingPoint: startingPoint)
circle.layer.cornerRadius = circle.frame.size.height / 2
circle.center = startingPoint
circle.backgroundColor = circleColor
Expand Down
5 changes: 0 additions & 5 deletions Circular Transition Animation/SecondViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,8 @@ class SecondViewController: UIViewController {

dismissButton.layer.cornerRadius = dismissButton.frame.size.width / 2
}


@IBAction func dismissSecondVC(_ sender: Any) {
self.dismiss(animated: true, completion: nil)


}


}

0 comments on commit a54315d

Please sign in to comment.