SwiftUI lets us specify a preferred color scheme for modal presentations, which can be useful with a custom background to always keep text and controls legible. The preference set inside the modal will only affect that modal and not the rest of the app: https://nilcoalescing.com/blog/ModalPresentationBackgroundAndColorSchemeInSwiftUI/#controlling-the-color-scheme
#SwiftUI #iOSDev
Hot take: Apple should not be allowed to ship any new sample code:
• Unless it is 100% “Strict Concurrency Checking == Complete” compliant (no warnings or errors).
• Unless it comes with unit tests (or, failing that, at least UI tests) providing 100% code coverage.
Further, they should be required to embark on retrofitting all of their prior sample code (for systems still active) to be compliant with the above.
#AppleDev #iOSDev #macOSDev #WWDC #Xcode
I noticed yesterday that new #Xcode projects now use folders instead of groups. From the release notes, looks like that was part of Xcode 16. I guess I haven't noticed because I didn't create a new project since Xcode 16 came out?
It's very strange to not have control over the sort order anymore.
Hey so I'm available to help on your iOS/macOS project (or just do it for you). Could start whenever you’re ready.
Looking at the #iOSDev job market, and there’s an awful lot of React, Flutter, and even Xamarin.
Are we losing the native battle?
hi I’ve been generally offline for a long while but I want to reengage & it seems like a lot of my #iosdev friends are on here! So I’m thinking I’ll use this page as a place to for my nerdy thoughts and dev related things. I have a lot of relearning to do having taken a long break from coding but excited to jump back in
Custom images from an asset catalog don't automatically resize with text. If an image is not purely decorative, we should ensure it scales appropriately when users adjust their preferred font size. We can easily do it with the ScaledMetric API in SwiftUI: https://nilcoalescing.com/blog/AdaptingImagesAndSymbolsToDynamicTypeSizesInSwiftUI/#scaling-custom-images
#SwiftUI #iOSDev