This week's SwiftLee Weekly covers: Concurrency step-by-step Geometry Effect in SwiftUI Reducing an iOS app's size by half Enjoy this week's SwiftLee Weekly! Oh, p.s., I'm finally on Bluesky. THIS WEEK'S BLOG POST Enum explained in-depth with code examples in Swift It's been a while since I wrote the first version of this article. Swift enums are well-known in their basics, but do you know how to use the fallthrough keyword? Or statements like guard case and if case? Now and then, I revisit...
about 18 hours ago • 4 min read
This week's SwiftLee Weekly covers: Black Friday Discounts Apple Intelligence in SwiftUI Balancing support requests in side projects Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Black Friday: 50% discount on RocketSim & Going Indie Course It's that time of the year with crazy discounts floating around everywhere. I decided to join the madness and provide a 50% discount on my Going Indie course and RocketSim. Use this link to get a 50% discount on RocketSim Use this link to get a...
8 days ago • 5 min read
This week's SwiftLee Weekly covers: App Store Nominations ChatGPT for Xcode Lazy vars and observable classes Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Contingent pricing for in-app subscriptions Contingent pricing is close to one year old and still in the piloting phase. After joining forces with the team behind Helm, I wrote an article based on my experience integrating discounted subscription offerings using contingent pricing. SPONSORED Master Test Distribution & App...
15 days ago • 4 min read
This week's SwiftLee Weekly covers: Xcode's integrated code formatter ARCtic Conference Is Swift too complex? Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST MainActor usage in Swift explained to dispatch to the main thread Swift Concurrency was brand new when I first wrote this article in 2023. This week, I revisited the article and brought it back up to date. One key learning I’ve added: @MainActor does not guarantee execution on the main thread.avanderlee.com SPONSORED Transform...
22 days ago • 5 min read
This week's SwiftLee Weekly covers: Apple Intelligence GitHub Copilot for Xcode Common concurrency mistakes Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST URLSession async/await: Perform network requests in Swift This week’s article explores the modern approach to handling network requests in Swift using async/await. It covers leveraging URLSession with the new concurrency features, making managing network calls more straightforward. I also share a tool I always use when working...
28 days ago • 4 min read
This week's SwiftLee Weekly covers: SwiftUI View Transitions Expedited App Reviews Debug SwiftUI Crashes Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Mastering the @require Macro in Swift Testing After covering the #expect macro before, we’re now ready to dive into its companion: the #require macro. While you don’t need it to write tests, it’s a game changer when it comes down to writing self-explanatory tests. avanderlee.com SPONSORED Master Mobile Monitoring SwiftUI Apps Monitor...
about 1 month ago • 5 min read
This week's SwiftLee Weekly covers: 30% discount on iOS Courses Working at startups vs. large companies What is @preconcurrency actually doing? Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Security-scoped bookmarks for URL access Security-scoped bookmarks are essential in macOS development when you want access to a user-selected directory in a sandboxed environment. A bug in macOS Sequoia has kept me and other developers busy for the past week, so I decided to bring you all...
about 1 month ago • 3 min read