Converting an method from objective c to swift : <p>Hi guys how can i convert this code into swift.</p>

<pre><code> (id &lt;UIViewControllerAnimatedTransitioning&gt;)navigationController:(UINavigationController *)navigationController
                                   animationControllerForOperation:(UINavigationControllerOperation)operation
                                                fromViewController:(UIViewController *)fromVC
                                                  toViewController:(UIViewController *)toVC
{
}
</code></pre>

<p>I have been trying to figure it out but cant.</p>

<p>Thanks in advance
Aryan</p>
