As I've started to use the @Observable macro in SwiftUI more and more, I’ve come to realize that in some places I want to subscribe to changes manually.
With ObservedObject, this can easily be done by accessing the @Published publisher, but how do people do this with @Observable?
🎤 Roman Liukevich spoke at Appdevcon!
The talk 'The Evolution of Animations in SwiftUI: From Basics to Metal Shaders' is now live!💪 🚀
🎥 Watch it here: https://appdevcon.nl/session/the-evolution-of-animations-in-swiftui-from-basics-to-metal-shaders/
#adc25 #swift #swiftUI #appdevcon

Am I crazy or it seems you can't properly use `UndoManager` in swiftUI inside a presented sheet view? I can't get undo items to register.
It sounds insane but when I moved the code outside of the sheet it worked correctly. And the `undoManager` was *not* nil in the sheet view.
#SwiftUI #iosdev #indiedev #buildinpublic
*Cue epic music*
The trilogy concludes.
In the final chapter of the Bitrig Swift Interpreter series, we reveal how complex expressions are evaluated at runtime and how they connect to real system frameworks. #BuildInPublic #Bitrig #Swift #SwiftUI
https://www.bitrig.app/blog/interpreter-expressions
Peek-A-Doodle is really starting to come to life.
On to Day 4 🚀
If you want to be notified when I launch, you can join the waitlist at
https://peek-a-doodle.com
#buildinpublic #indiedev #iosdev #swiftui #laravel
When the new PDX Transit is out, whenever you bookmark a transit stop, it’ll make App Shortcuts which you can add to your Home Screen.
They can be used to get arrival times or view related service alerts for that stop. Check it out:
#SwiftUI #AppShortcuts #iOSDev #PDXTransit #PublicTransit #PDX
Just encountered someone uncritically posting a screenshot of an #LLM answer to explain a #SwiftUI bug we were seeing, and it suggested a significantly disruptive workaround.
Turns out its diagnosis was completely wrong, and actual human SwiftUI experts found a very simple solution to the problem in 5 minutes.
I'm sure there are lots of people out there leveraging LLMs responsibly, but imo this is a seriously dangerous tool for non-experts who can't critically evaluate the answers.
Got started fleshing out the list entry store, but need to think about how I want to segment the data pertaining to individual users and the list. Tomorrow let's jump back into it after I have a day to think on it. See you then!
🔜 Tomorrow’s stream: https://youtube.com/live/WlJnyZvTQgk
⏮️ Playlist so far: https://www.youtube.com/playlist?list=PLRxjf93xotuofCtaxtGOcWeuxVZYJyY-m
📲 Download Jiiiii: https://apps.apple.com/app/apple-store/id6472801548?pt=14724&ct=MastodonCCStreams&mt=8
#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #Swift #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush
I'm making a seasonal anime guide app, in the open for all to experience and learn from.
Let's jump back into defining the datastores for lists!
#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush
Come chill with me: https://youtube.com/live/cgq8E37C6TM
It's so nice that #SwiftUI's `onGeometryChange` modifier was back-ported to iOS 16. Would love to see more back porting.
Fantastic presentation at NSSpain last week on using Skip along with the Swift SDK for Android to seamlessly bridge between Kotlin and Swift in a real-world project.
“Android Doesn’t Deserve Swift—But We Did It Anyway — Pierluigi Cifani”
https://www.youtube.com/watch?v=EIGl6GOo210
Has anybody figured out the magic incantation in #SwiftUI to get a window with a NavigationSplitView (with sidebar and detail) such that the sidebar is always visible, and the detail view (main part of the window) has NO title bar, a content area that goes all the way to the top of the screen, and is NOT draggable? No matter what combination of modifiers I've tried, it's always reserving a draggable area with no content at the top!
