Practical Combine
创始人Practical Combine 是一本面向中高级开发者的书,通过实际示例讲解 Apple Combine 框架的基础、界面更新、网络请求、调试与测试。

聚焦 Swift、iOS 并发与应用性能优化的独立开发者和技术书籍作者,持续公开分享 Maxine 的开发实践。
iOS Engineer, blogger and author at http://donnywals.com. Loves learning and sharing knowledge. ❤Dorien -- #swift #ios #swiftlang #iosdev #solopreneur (he/him)
Donny Wals 将一线 iOS 工程实践与独立技术出版结合,通过真实的应用开发问题、性能权衡及代码实现细节,帮助开发者深入掌握 Swift。
Practical Combine 是一本面向中高级开发者的书,通过实际示例讲解 Apple Combine 框架的基础、界面更新、网络请求、调试与测试。
Practical Core Data 是一本面向中高级开发者的书,讲解如何使用苹果 Core Data 框架进行数据存储、同步、迁移和测试。
待积累:7日增速(连续追踪满 7 天后解锁)
待积累:观点转述比(满 5 条成熟帖或对应样本后解锁)
Figured Maxine is going to need a website if I keep working on it... t.co/XC1W1mJTU1
Started adding iPhone Duo support to Maxine but I can't seem to figure out how I can keep this horizontal piece of scrolling content from extending under the tab bar. I'm not ignoring any safe areas or anything ¯\_(ツ)_/¯
The more I work on app intents, the more I’m trying to make it so that I can do a full workout without touching my phone or watch at all...
Already can’t wait to start the refining process after I ship my initial implementation
Bending spoons strikes again
Today we’re laying off a large part of the Airtable team.
This is not a reflection of their work but a reflection of our deep belief that small teams ship more and better.
For Airtable, better is about to look like: - A new Core team shipping your top requests monthly (already 30+ shipped in 3 weeks) - Upgraded Omni, Airtable Canvas, a stronger MCP, and BYO agents, coming soon - New Performance and Infra teams focusing on speeding up bases and increasing limits on records, fields, and syncs
To everyone leaving: thank you. If you’re hiring, these are excellent people and worth a call.
Decode JSON on the main thread is fine? Or always a terrible idea and you should avoid it at all times?
Sometimes introducing concurrency can be more expensive than just staying where you are…
Measuring performance and understanding what’s happening is key if you want to build performant apps.
Really wish that the iPhone Duo simulator came with more apps so we could get a sense of what Apple is doing for certain apps.
Having to adapt Maxine to Duo's open state is tricky because I don't want to just show the same UI except super wide but coming up with a good layout is far from trivial..
I have no idea what "Dot" is and at this point I'm afraid to ask...
Sooo I installed pihole for all of my home network and I almost wish I didn't because now I can see that my devices are basically _constantly_ sending data all over the place
If there’s one thing I’ve learned today while exploring Maxine on iPhone Duo it’s that you can’t just build with Xcode 27 and hope for the best.
If you’ve set everything up with built-in components and no weird shenanigans you’ll have very few surprises, but you’ll probably run into a couple of weird things that you’ll want to address.
My main “surprise” was the front camera which made me rethink a full screen UI that had a close button in the top right corner. That button was now obscured by the camera…
Wanted to optimize the way we heat our house for this winter and considered controlling my underfloor heating on a per-room basis.
Asked GPT to pull our gas usage data, historic temperature, heating behavior etc. from Home Assistant to calculate whether it'd make a difference.
Turns out we would save <100 euro a year, assuming my planned heating schema would be the one we'd use.
Guess we're not installing per-room controllers then 😅
A `for await` loop over an AsyncStream keeps going until the stream finishes. Any code you put after the loop in that same task waits until then, and if the stream never finishes, that code never runs.
If you need to observe two streams, give each one its own task, or start them in a task group.
Learn more about consuming async streams with Practical Swift Concurrency:
Do I know anybody from Italy that's going to @swiftbharat? If so, please let me know; I have a favor to ask...
(or any Italians that will be in The Netherlands in the next month or two, that works too... or italians that can ship me a small package, I guess)
Setup is in progress, looking forward to meeting folks and talking about their agentic workflows later! @swift_leeds
#swiftleeds
Tomorrow's black friday... and for the first time ever I'm wondering whether I should do a sale for my books. They're not that expensive right now, and with how much sales and blog views have gone down over the last year, I'm just not sure I really want to
AsyncStream is a really nice way to wrap delegate-based APIs like CLLocationManager.
Something to keep in mind though: a stream is meant to have one consumer. If two tasks iterate the same AsyncStream, each location ends up in only one of the loops.
So if more than one part of your app needs those updates, each one needs its own stream with its own continuation.
Learn more about building and consuming streams with Practical Swift Concurrency:
Structured concurrency is mostly one rule: a parent task can’t finish while its child tasks are still running.
`async let` is one of the two places you get that hierarchy. Task Groups are the other.
I wrote up the basics here:
Something I look for in actor code: state that's read before an `await` and used after it.
Every `await` in an actor is a spot where other calls can run first. By the time you use that value, it might not be what you think anymore. Re-reading it after the await is usually the simplest fix.
`async let` is often enough when you just need two things at once.
You don't always need a Task Group. That's usually for when the number of tasks isn't fixed up front.
Learn more about running work in parallel with Practical Swift Concurrency.
Battery life on the 18 pro max is absolutely wild 🤯 lost like 6% overnight. I can almost get through 2 days on a single charge
独立创业者,打造效率类移动应用并参与 Swift 开发者社区。
Swift 教育者与 RocketSim 开发者,为应用团队分享实用的 AI 编码工作流。
Paul Hudson 通过 Hacking with Swift 教授 Swift,开发应用和工具,并分享实用的 iOS 开发建议。
Apollo 与 Pixel Pals 创作者,分享移动端设计体验与 AI 辅助应用开发实践。