After a number of truly awful attempts, I have a post about "Non-Sendable First Design" that I think I can live with.
I like this approach and I think you might like it too. It's simple, flexible, and most importantly, it looks "normal".
www.massicotte.org/blog/non-sen...
Posts by Keith Harrison
Treating Warnings as Errors in Swift Packages #swiftlang useyourloaf.com/blog/treatin...
A screenshot of iOS 18 simulator, showing broken large navigation title layout.
🚨 PSA for all of you updating your apps for iOS 26:
When you build using Xcode 26, the large navigation title gets broken (no left padding) when running on iOS 18.
🔗 Link to a fix below.
Anyone hit problems enabling approachable concurrency (or flags in its grouping) aside from the migration step required for NonisolatedNonsendingByDefault? Not talking about default isolation here.
I haven't encountered any anywhere and I'm curious. Seems like it is going quite smooth so far.
Agreed, it does feel clumsy
Swift Raw Identifiers #iOSDev #swiftlang useyourloaf.com/blog/swift-r...
thanks, I’ll take a look. I’ve used that approach in the past (see useyourloaf.com/blog/scenest...) not sure why I’m not doing it here
When Observable replaced ObservableObject in iOS 17 it was missing a way to stream changes. That was fixed in iOS 26 (swift 6.2). #iosdev #swiftui useyourloaf.com/blog/swift-o...
that’s a good point, not sure it’s possible but would be nice to have as a fallback
Yes, I had the same problem, the WWDC video skips over what you’re supposed to do. In theory, the icon is backwards compatible so you only get the glass effect on iOS 26. In practice, seems there are some rendering issues on older versions.
I found a workaround to the problem with Icon Composer not working for alternate app icons. Manually adding keys to the target's Info.plist seems to fix it for now. Seems to need separate keys for the ~ipad variant. Hopefully Apple fixes this soon. #Xcode useyourloaf.com/blog/adding-...
Info.plist with CFBundleIcons~iPad and CFBundleIcons dictionaries listing CFBundleAlternateIcons
Here's what worked for me in the end after comparing to what Xcode generates for app icons in the asset catalog. The iPad variant seems to be necessary for it to work there. Hopefully Apple fixes Xcode in a future beta,
Thanks. One difference I can see is that I don't have the CFBundleAlternateIcons key listed in the Info.plist file. (I'm also using a SwiftUI app life-cycle but not sure that's relevant). Will play some more. Thanks again!
Asset catalog compiler - options. Alternate App Icon Sets: Applcon-purple. Include All App Icon Assets: Yes. Primary App Icon Set Name: AppIcon-primary
Not working for me in beta 2
Interesting, will have another look. To be clear you didn’t have to add the icons to the asset catalog?
How do you create a SwiftUI picker that works with optional selection so that not picking a value is possible? #iosdev #swiftui useyourloaf.com/blog/swiftui...
How do you write SwiftData predicates to query for parent relationships? #iOSDev #SwiftData #SwiftUI useyourloaf.com/blog/swiftda...
My notes on the surprising (to me) scope of SwiftUI keyboard shortcuts #SwiftUI #iOSDev useyourloaf.com/blog/swiftui...
How do you change the accessibility language used by VoiceOver with SwiftUI? #SwiftUI #iOSDev
useyourloaf.com/blog/swiftui...
Changing the default behaviour of a scroll view to center content only when it’s smaller than the scroll view container #SwiftUI #iOSDev useyourloaf.com/blog/swiftui...
Is there no way to set the accessibility language for a SwiftUI view? UIKit has the accessibility language property but there’s no equivalent in SwiftUI. I’ve seen people using AttributedString with the .accessibilitySpeechLanguage attribute but I can’t get it to work. #SwiftUI #iOSDev
Swift Testing completion handlers #SwiftLang #iosdev useyourloaf.com/blog/swift-t...
Provisional authorzation to send local user notifications. A feature old enough (iOS 12) for me to forget it exists. #iOSDev useyourloaf.com/blog/provisi...
Yes, I've seen that. Very frustrating. Hope Apple fixes that soon. I'll add a note to the post. Thanks.
Thanks for the reminder, that's much easier when you only need a fill variant. I'll add it to the post.
How do you change the image a SwiftUI button shows when pressed? #SwiftUI #iOSDev useyourloaf.com/blog/swiftui...
When the user chooses the reduce motion accessibility setting you should avoid large animations with objects that fly in/out of the screen #iOSDev #SwiftUI useyourloaf.com/blog/reducin...
Yellow Xcode warning Parameter 'bundle' is missing documentation with option to fix by adding bundle
Xcode also warns about the reverse error, a parameter in the method declaration that's not documented