#SwiftUI really is kind a brick wall of a difficulty curve. Super easy to build a working single screen app and widgets but then total madness once you hit the first complication.
So I think I figured this out, too. It's not a solution that will work every time, but I refactored the deepest part of my work code as synchronous code and wrapped it in an asynchronous wrapper that'll do all the right things for regular use. The SwiftUI preview will use the synchronous part directly. #SwiftUI #iOSDev
Trong Swift: Hướng dẫn về if, guard, và switch. 📝 Học cách sử dụng guard để thoát sớm, pattern matching, và switch case gọn gàng. Giữ code sạch sẽ, dễ đọc và kiểm thử. #Swift #LậpTrình #iOS #SwiftUI #Code #ViệtNam
https://dev.to/jacop_dev/control-flow-in-swift-using-if-guard-and-switch-the-right-way-3gcm
I think all of my #SwiftUI preview problems come down to not knowing how to wait for async operations to complete or a preview. Other than that, it's basically straightforward. Once I get that down… #iosDev
Public TestFlight #iOS26 beta for Super To-Do’s!
https://testflight.apple.com/join/2M7xYXA4
Approaching the 10th anniversary of this personal project.
I've worked all summer on modernizing the code with #swift structured concurrency, #swiftui -- nicely setting myself up for the next ten years.
Simplicity is its superpower! The most common features are front and center, all of the more advanced ones are just a tap away.
There are a couple of new #FoundationModels features in there too :)
Hope you enjoy it.

Added regions to the UI, but it clearly needs some work and more consideration. For now, pushed out a TestFlight to get a feel for it over the next few days. Tomorrow, let's make some more region icons. See you then!
🔜 Tomorrow’s stream: https://youtube.com/live/D7orH9VMfeI
⏮️ 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
Of course this #SwiftUI crash will only occur on device, and not on simulator 🥲
I'm making a seasonal anime guide app, in the open for all to experience and learn from.
Let's add regions to the sorting we figured out yesterday!
#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush
Come chill with me: https://youtube.com/live/t2eWatZX3Mw
Just wasted half an hour because I was passing a
SectionedFetchResults.Section directly to a function taking an array. All Xcode gave me was "The compiler is unable to type-check this expression in reasonable time". The state of this IDE is embarassing.
Do you have plans this weekend? You do now. We're opening up a few more spots in the Bitrig TestFlight! Join now to build native Swift apps, just by chatting with AI. #Swift #SwiftUI #BuildInPublic https://testflight.apple.com/join/CkSWyXR4
I'm using the wrong syntax here, but I didn't even notice because it actually works.
The SwiftUI previews crashing is what made me realize.

I really like this article about #SwiftUI and how-to design and build apps with no MVVM adoption.
Remember that SwiftUI is *just* a framework, it’s not dependent on any architecture
https://dimillian.medium.com/swiftui-in-2025-forget-mvvm-262ff2bbd2ed