eckSegue</a></code>.</p>

<p>Hereʼs a snippet showing usage via code. Just replace <code>ModalViewController()</code> with your view controller&rsquo;s class and youʼre good to go.</p>
<pre class="highlight swift"><code><span class="k">let</span> <span class="nv">modal</span> <span class="o">=</span> <span class="kt">ModalViewController</span><span class="p">()</span>
<span class="k">let</span> <span class="nv">transitionDelegate</span> <span class="o">=</span> <span class="kt">DeckTransitioningDelegate</