I’m sure we all agree that Codable was a significant step forward for Swift when it arrived a couple of years ago, especially if you need to decode some JSON data from a web server. Remember how many JSON parsing libraries there were? 😳 That doesn’t mean it solves every case perfectly, though, and you might find Mike Lewis’s new package useful if you need to flatten out data from a deep hierarchy or only take one or two pieces of data from a large JSON object.
He wrote more about it on the Swift Forums if you want more context.
This package from Omar Albeik isn't brand new, but it did catch my eye this week. It’s a wonderfully true-to-the-original re-creation of the toasts you see when you use an Apple Pencil with a modern iPad. I’ve not compared them side-by-side, but they look incredibly similar to me, and I’ve always liked their design.
Split views were always a little tricky with SwiftUI before this year's re-think of the navigation APIs. Did Apple manage to make everyone happy with the changes? Probably not, but they made Keith Harrison happy enough that he spent some time writing about them! 🚀
Talking of the new SwiftUI navigation APIs, Joseph Heck wrote up some notes on document-based apps using the new APIs. Again, this was a weak area in previous SwiftUI versions, so it’s great to see this quintessential macOS feature get more attention.
(I know, I know. It’s also on iOS and has been for a long time, but I’d say it’s a quintessential feature of macOS)