span class="n">data</span><span class="p">)</span>
      <span class="c1">// do something with the received UIImage</span>
      <span class="k">break</span>

    <span class="k">default</span><span class="p">:</span>
      <span class="k">break</span>
  <span class="p">}</span>
<span class="p">}</span>

<span class="kd">func</span> <span class="nf">multiPeer</span><span class="p">(</span><span class="n">connectedDevicesChanged</span> <span class="nv">devices</span><span class="p">:</span> <span class="p">[