<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Ios on Compile My Mind</title>
		<link>https://www.compilemymind.com/tags/ios/</link>
		<description>Recent content in Ios on Compile My Mind</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
		
			<lastBuildDate>Sun, 26 Jul 2026 18:45:00 +0200</lastBuildDate>
		
			<atom:link href="https://www.compilemymind.com/tags/ios/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Swift Concurrency: async/await, Tasks, and Actors Explained</title>
				<link>https://www.compilemymind.com/posts/swift-concurrency-async-await-tasks-actors/</link>
				<pubDate>Mon, 20 Jul 2026 22:58:16 +0300</pubDate>
				<guid>https://www.compilemymind.com/posts/swift-concurrency-async-await-tasks-actors/</guid>
				<description>&lt;p&gt;Swift concurrency is easier to reason about when four ideas remain separate:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;async&lt;/code&gt; marks a function that may suspend.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;await&lt;/code&gt; marks a possible suspension point.&lt;/li&gt;&#xA;&lt;li&gt;a &lt;code&gt;Task&lt;/code&gt; gives asynchronous work a lifetime and priority context.&lt;/li&gt;&#xA;&lt;li&gt;an &lt;code&gt;actor&lt;/code&gt; isolates mutable state.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;None of these means “start a new thread.” The runtime schedules jobs on executors, and an asynchronous function can resume on an executor appropriate to its isolation.&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;    &lt;img src=&#34;https://www.compilemymind.com/posts/swift-concurrency-async-await-tasks-actors/concept-flow.svg&#34; alt=&#34;Swift structured task tree feeding results through an actor-isolated cache to the MainActor UI&#34; width=&#34;1200&#34; height=&#34;720&#34; loading=&#34;lazy&#34; decoding=&#34;async&#34;&gt;&#xA;    &#xA;  &lt;/figure&gt;&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
