<p>This method will be called before starting
transition from one item to another.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">func</span> <span class="nf">glidingCollection</span><span class="p">(</span><span class="n">_</span> <span class="nv">colle