Intermittent Fasting Tracker with WidgetKit & SwiftData | Episode 2
ฝัง
- เผยแพร่เมื่อ 12 ก.ย. 2024
- In a recent livestream I started working on an intermittent fasting tracker using interactive widgets. This code-along episode starts by changing our UserDefaults logic and continues to introduce SwiftData to the project. We're making great progress!
Join this channel to get access to perks:
/ @flowritescode
🚀 LaunchBuddy: apple.co/3iFcjjW
📚 Try CWC+: bit.ly/cwc_flo
☕️ Buy me a coffee: ko-fi.com/flow...
👋 Links: flowritesco.de
🛠 Forge: apple.co/3riG8MQ
Affiliate Links ❤
📕 SwiftUI & Combine Books: www.bigmountai...
🔬 Get Reports about your apps: appfigures.com...
📊 Privacy focused analytics: dashboard.tele...
💻 The most powerful mac app for developers: devutils.app/?...
☕️ Support me: ko-fi.com/flow...
If you have any video suggestions please feel free to let me know by a comment.
Get in contact via
Twitter: / flowritescode
Are you working on your own iOS 17 apps? Use LaunchBuddy to manage their development: apple.co/3iFcjjW
Regarding your question... I think the reason you don't need to call await in a @MainActor decorated function is because the entire function is already going to be put on the queue, with the result being put on to the main thread. I could be wrong tho.
How did you like this code-along-style video? Was it interesting to see how I think and code in real time? Btw: You can now join my channel to use these emojis in live chat & video comments: