Did you catch the WWDC Swift Group Lab session? It was great!
But, there wasn't time for all the questions. So I copied them down and took a shot at answering some.
Did you catch the WWDC Swift Group Lab session? It was great!
But, there wasn't time for all the questions. So I copied them down and took a shot at answering some.
I really appreciate that the new format Group Labs are directly available to catch up on in the YouTube channel. I couldn't catch some of them yesterday but they are all there for me to watch this morning:
https://www.youtube.com/playlist?list=PLjODKV8YBFHYr0R1jcBO0tWT8WpK1KPF9

After nearly six months of work, I'm thrilled to introduce Shortcuts Playground:
A plugin for Claude Code and Codex to create native Apple shortcuts with natural language.
Type a sentence in, get a shortcut back. It can one-shot complex shortcuts, make changes, and remix old shortcuts. Full Shortcuts action library supported.
Free and open source. Install it in your favorite agent here: https://github.com/viticci/shortcuts-playground-plugin
My story on how and why I made this: https://www.macstories.net/stories/introducing-shortcuts-playground/
Are these two SwiftUI snippets equivalent?
Text("Hello, world!")
.kerning(10.0)
Text("Hello, world!")
.kerning(4.0)
.kerning(6.0)
The answer is: it depends.
See more details here: https://kyleye.top/posts/swiftui-text-kerning-semantics/
📸 Snapshot testing in iOS is powerful…
…but the experience around it is still painful.
You run tests.
You get failures.
And then you’re left digging through files trying to understand what changed.
I built NSAssets to fix that.
Check the small demo, running snapshot tests on Kickstarter’s open source app
👉 This is the experience I always wanted when working with snapshot tests.
👉 check all available features:
https://apps.apple.com/app/nsassets/id6760512142
Really quickly this morning, I pulled out some swift async helpers I've been using in some personal apps into a separate repo, mostly to make it easier to keep them all in sync. I published it at https://forge.younata.com/you/AsyncExtensions
Probably the most interesting thing there is AsyncMultiChannel. Which is like https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncAlgorithms.docc/Guides/Channel.md, but it supports multiple subscribers. I should rename it, because it's intended to be used in more of a pub-sub architecture than as 1-1 communication.