Here is my first installation of Weekly Resources where I will be compiling all the articles that I have read, the videos I have watched, and the articles I have written alongside any other thoughts and ideas each week and hoping to post these weekly resources on Fridays.
I also launched a series on my blog called SwiftUI Modifiers Deep Dive, releasing an article every Wednesday about a new SwiftUI Modifier, be sure to check it out!
Articles Read
Demystify SwiftUI containers
Probably my favourite new iOS 18 feature here. Container views are just a concept, many of us working in SwiftUI have created them before. If you’ve ever created a wrapping type view that takes in a content ViewBuilder
, that’s a container. But now, you can access the subviews of the views inside your new container!
Swift Macros at scale
Interesting read here on Swift Macros and how they increase build times, although I’m not sure I am a fan of the idea of WebAssembly.
Although I have been seeing a lot about WasmKit
iOS development with JetBrains Fleet
I have tried AppCode in the past, and I have done a decent amount of Android dev in Android Studio. IntelliJ IDEA was a pretty good IDE too. I’m curious about Fleet, and will give it a shot at some point.
Subscribing to SwiftData changes outside SwiftUI
Cool article highlighting how to subscribe to changes in SwiftData outside of using @Query
in SwiftUI via a NotificationCenter
publisher.
Videos Watched
Go small with Embedded Swift from WWDC24
Wasn’t really looking for anything here, just opened the Developer app and was browsing and it caught my attention. Interesting stuff, Apple really promoting Matter here.
What’s new in App Intents from WWDC24
Lots of cool new stuff for AppIntents here. Particularly, the deep linking additions are interesting. There’s also a handy Apple doc on recent changes to the framework.
I have utilized AppIntents heavily in my own app TinyCurrency, but I still find it tough to imagine the use cases for them. I think mainly because Shortcuts and Siri are a bit finicky, and deciding how to structure your app’s logic is tough.
Maybe Apple agrees, because they’ve written an article on making actions and content discoverable and widely available.
Articles Written
How to Localize Text in SwiftUI
Localization is an essential aspect of creating apps that can reach a global audience. With SwiftUI, Apple has made the process of localizing text straightforward and efficient. In this article, we’ll walk through the steps to localize text in a SwiftUI application, ensuring that your app is accessible to users in multiple languages.
SwiftUI Modifiers Deep Dive: containerBackground
Welcome to the SwiftUI Modifiers Deep Dive series, where we take a closer look at one SwiftUI modifier each week. In this series, I’ll explore the ins and outs of each modifier, breaking down its functionality and use cases. Whether you’re new to SwiftUI or a seasoned developer, this deep dive will provide valuable insights to help you harness the full power of this versatile modifier in your iOS projects.
Thoughts
Apple Sep 9 Event Announced
As a user, my iPhone 13 Pro Max is doing just fine. As a developer, if I don’t upgrade this year, I miss out on Apple Intelligence as well as other features I’ve been missing for a while (Dynamic Island is a bigger example).
So this year, I think I’ll upgrade.
iOS and iPadOS 18 Beta 8 Released
We are right around the corner from release at this point so I could see the next beta channel release to be the GM.