Sublime
An inspiration engine for ideas
SwiftData Updates - Part 1: Mock JSON Data and PreviewModifier
SwiftData Updates - Part 1: Mock JSON Data and PreviewModifier
A number of people asked If I can share the convo and yes sure - these were the 4 convos with my super noob swift questions lol:
1 starting the app
https://t.co/TMyPAK2RhZ
2 enhancements
https://t.co/vWnkwMrMe8
3 adding AppStorage to persist state over time
https://t.co/NVxc7p1uVH
4 deploy to phone
https://t.co/e4xo4cmcWR
and this is what it looks like late last night
https://t.co/7B8Qp4L0gN
I... See more
Andrej Karpathyx.comSwift.org
swift.org
Time for some comparisons!
💪🏻 weak vs unowned self: https://t.co/SyMkfBEsfl
🕵️♂️ fileprivate vs private: https://t.co/7LWy1KJ8Uq
🚀 Alamofire vs URLSession: https://t.co/PnuH6BE5rp
🗺 compactMap vs flatMap: https://t.co/C4btVFtpWk
#swiftlang... See more
Antoine v.d. SwiftLee x.comAs WWDC24 and 5 years of SwiftUI approaches, let’s talk about…UIKit! 😜
We love SwiftUI, but there are still times you must drop down to UIKit, so we want to show what *modern* UIKit looks like when you model your domains as concisely as possible.
https://t.co/tqH35NgCL8... See more
Point-Freex.com

Swift fact: Enums with raw types can't have associated values out-of-the-box! 🚫
Want both? Manually add a custom init and a rawValue property ✅
Dive into the magic of enums in this video! 👇🏻
https://t.co/5fNxq5bN6u... See more


Here's a small URLSession extension I'm finding really useful in Swift 5.5 – it fetches a URL and decodes it into any Decodable type in one pass.
Gist here: https://t.co/SJwAvBBgli... See more