<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Concurrency on 编程心语</title>
		<link>https://www.ithome.me/tags/concurrency/</link>
		<description>Recent content in Concurrency on 编程心语</description>
		<generator>Hugo</generator>
		<language>zh-CN</language>
		
		
		
		
			<lastBuildDate>Tue, 04 Aug 2026 14:59:27 +0800</lastBuildDate>
		
			<atom:link href="https://www.ithome.me/tags/concurrency/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>SwiftUI 异步数据加载与 Swift 6 严格并发检查实战</title>
				<link>https://www.ithome.me/post/2026/07/24/swiftui-async-data-swift6-concurrency/</link>
				<pubDate>Fri, 24 Jul 2026 08:00:00 +0800</pubDate>
				<guid>https://www.ithome.me/post/2026/07/24/swiftui-async-data-swift6-concurrency/</guid>
				<description>&lt;h2 id=&#34;为什么需要关心严格并发检查&#34;&gt;为什么需要关心严格并发检查？&lt;/h2&gt;&#xA;&lt;p&gt;Swift 5.5 引入了 &lt;code&gt;async/await&lt;/code&gt; 和 &lt;code&gt;Actor&lt;/code&gt;，但那时检查是&amp;quot;选择加入&amp;quot;的——编译器不会强制你遵守线程安全规则。到了 &lt;strong&gt;Swift 6&lt;/strong&gt;，严格并发检查（Strict Concurrency Checking）&lt;strong&gt;默认全开&lt;/strong&gt;。这意味着过去能编译的代码，现在可能直接报红。&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
