<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Closures on blog.iankulin.com</title><link>https://blog.iankulin.com/tags/closures/</link><description>Recent content in Closures on blog.iankulin.com</description><generator>Hugo</generator><language>en-AU</language><lastBuildDate>Mon, 25 Jul 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.iankulin.com/tags/closures/index.xml" rel="self" type="application/rss+xml"/><item><title>Closures</title><link>https://blog.iankulin.com/closures/</link><pubDate>Mon, 25 Jul 2022 00:00:00 +0000</pubDate><guid>https://blog.iankulin.com/closures/</guid><description>&lt;p&gt;I had one of those synchronicity in learning moments this morning. I am reading &lt;a href="https://docs.swift.org/swift-book/"&gt;The Swift Book&lt;/a&gt; - ie &lt;em&gt;The Swift Programming Language, Swift 5.7&lt;/em&gt; as part of my cs193p homework, and this morning, in a coffee shop was admiring what a clear, well written explanation was given for &lt;a href="https://docs.swift.org/swift-book/LanguageGuide/Closures.html"&gt;closures&lt;/a&gt;. It is super well written, stepping the reader through in logical (and digestible) steps.&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;ve never carelessly passed around a pointer to a function and caused the Blue Screen of Death, or done much multi-threaded programming, the use-case for closures, and use of them is going to be challenging at first. Then Swift&amp;rsquo;s ability to cut the syntax down to very little will be challenging.&lt;/p&gt;
&lt;p&gt;By pure coincidence, on the way home (it&amp;rsquo;s the country - you have time to listen to most of a podcast on the drive home from town) I listened to &lt;em&gt;Fireside Swift&lt;/em&gt; podcast &lt;a href="https://podcasts.apple.com/gb/podcast/ep-7-i-cant-even-say-academic/id1269435221?i=1000406471223"&gt;episode 7&lt;/a&gt; which was also about closures.&lt;/p&gt;
&lt;p&gt;The to top it off, I sat down to lunch with this video which is part of &lt;a href="https://courses.iosacademy.io/"&gt;iOS Academy&lt;/a&gt;&amp;rsquo;s &lt;em&gt;Swift for Beginners (2022)&lt;/em&gt; &lt;a href="https://www.youtube.com/playlist?list=PL5PR3UyfTWvfacnfUsvNcxIiKIgidNRoW"&gt;playlist&lt;/a&gt;.&lt;/p&gt;
&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"&gt;
 &lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/8TpLDqOO6VE?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"&gt;&lt;/iframe&gt;
 &lt;/div&gt;
</description></item></channel></rss>