Developer Advocate on the Firebase team @ Google
YouTube: https://www.youtube.com/@PeterFriese
Blog: https://peterfriese.dev

@peterfriese.dev
Developer Advocate on the Firebase team @ Google
YouTube: https://www.youtube.com/@PeterFriese
Blog: https://peterfriese.dev
With the weather cooling down, here is a delightful, whimsical indie Mac app: Sara Gordić built Window Sweaters, an open-source menu bar utility that dresses your active desktop windows in knitted borders.
Writing is thinking. When you outsource your writing to an LLM, you rob yourself of the chance to think.
Thomas Ptacek advice is: use AI as a ruthless copyeditor, never as your ghostwriter.
Justin Wetch built a skill that distills Apple's HIG so agents generate native-feeling SwiftUI, now with iPhone Duo support.
I haven't seen a single AI coding agent that has good taste for building good-looking and functional UIs - unless you tech them with a skill.
Coding agents often waste reasoning tokens on routine routing decisions.
Sai Rahul explains how to pair Codex with Jev, a fast decision model, to handle judgement calls in 50-300ms at minimal cost.
I think this version is best suitable for printing as a physical book :-)
I've been a long-time fan of the Hard Fork podcast. Kevin Roose shared a fascinating excerpt from his upcoming book 'The AGI Chronicles' in The Atlantic, exploring the rivalry between OpenAI and Anthropic.
Analyzing images is a great use case for AI in Swift.
@mecid.bsky.social shows how Apple's Foundation Models framework handles multimodal input cleanly using Swift result builders, on-device and in the cloud.
Maybe I should provide a version without a wide margin, or keep it on the right.
See @jacetchan.com's post for how the book looks when printed:
Do you mean the wide margin? That's actually on purpose - the book uses Tufte-style wide margins. See page 10 for an example how this is used.
I've updated the typeset PDF of The Swift Programming Language book for Swift 6.4
Get it for free: github.com/peterfriese...
Wondering what Apple's foldable iPhone Duo means for your codebase? This article provides a great practical breakdown: ditching UIScreen.main, handling dynamic safe areas, and adopting hinge APIs.
If you ever have feedback, questions, or cool projects to share, just hit reply. I read and answer every single one.
Oh, and here is the link to the updated PDF: go.peterfriese.dev/swift-book?...
2) I freshly generated a new PDF for Swift 6.4 (and fixed some issues with the rendering along the way)
This conversation led to two great things 👇 1) Stephan shared a glimpse of a 300 page book on Swift generative art he's printing for his vacation (mind-blowing work).
I end all of my newsletter intros with "hit reply - I read every email". And I actually mean it!
This week, Stephan emailed me, looking for the print detail of Jace's physical copy of The Swift Programming Language book I mentioned in issue 94 (peterfriese.dev/newsletter/...).
SwiftPieces brings that to SwiftUI with 55+ polished components featuring motion, haptics, and agent skills.
Developers hate adding dependencies to their code bases. So, instead of adding a UI library, why not copy paste highly polished components to your app? This concept has been popularised by ShadCN, and SwiftPieces follows the same concept.
Ok, Swift fam. A Swift SDK for GCP is a *great* start, but we (also) need an Firebase SDK for the server side. Can we bump the votes for this up to get it close to the votes for KMP support? Cast your vote (link in the first reply)