<div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:0px 0px 1.2em!important">-1 to <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">obtain</code>, <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">unwrap</code> and such.<br>+1 to removing optional pattern in favor of normal if-pattern, plus removing <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">case</code>:</p>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code class="hljs language-swift" style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline;white-space:pre;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;overflow-x:auto;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,248)"><span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">if</span> <span class="hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">let</span> unwrapped? = optionalValue { ... }
</code></pre>
<div title="MDH:PGRpdiBjbGFzcz0iZ21haWxfZXh0cmEiPi0xIHRvIGBvYnRhaW5gLCBgdW53cmFwYCBhbmQgc3Vj
aC48L2Rpdj48ZGl2IGNsYXNzPSJnbWFpbF9leHRyYSI+KzEgdG8gcmVtb3Zpbmcgb3B0aW9uYWwg
cGF0dGVybiBpbiBmYXZvciBvZiBub3JtYWwgaWYtcGF0dGVybiwgcGx1cyByZW1vdmluZyBgY2Fz
ZWA6PC9kaXY+PGRpdiBjbGFzcz0iZ21haWxfZXh0cmEiPjxicj48L2Rpdj48ZGl2IGNsYXNzPSJn
bWFpbF9leHRyYSI+YGBgc3dpZnQ8L2Rpdj48ZGl2IGNsYXNzPSJnbWFpbF9leHRyYSI+aWYgbGV0
IHVud3JhcHBlZD8gPSBvcHRpb25hbFZhbHVlIHsgLi4uIH08L2Rpdj48ZGl2IGNsYXNzPSJnbWFp
bF9leHRyYSI+YGBgPC9kaXY+" style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0">​</div></div></div>