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.
Are you struggling to track the size of your .xcassets?
Or wishing there was something like Storybook for iOS/macOS UI?
Xcode doesn’t really give you a great way to explore your assets.
I was facing the same problems.
So I built NSAssets — now live on the App Store 🚀
Would love your feedback 🙌
🔗 [https://apps.apple.com/us/app/nsassets/id6760512142
NSAssets]
👇 I’ve added a small demo in the comments
#swift #swiftui #iosdevelopment #snapshot_testing #macosdevelopment
After a thoughtful nudge, I have renamed my "Lock" package to use the term "Gate". And while I was in there, I updated a bunch of things, including finally getting a recursive gate working!
I have found this kind of tool incredibly useful for managing actor reentrancy with Swift Concurrency.