This week's SwiftLee Weekly covers: Dealing with in-app subscription billing issues Getting started with Swift Localization using SPM Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Swift Tutorials: Learn Swift with Easy-to-Follow Code Examples Since 2015, I've published over 250 articles. Yet, a good starting point didn't exist, and outside of search engine results, it's pretty hard to discover all the valuable content I've written. Therefore, I used this holiday week to publish an...
3 days ago • 5 min read
This week's SwiftLee Weekly covers: Noncopyable types in Swift Exploring MLX Swift Xcode Library Customization Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST SwiftUI Button: Custom Styles, Variants, and Best Practices SwiftUI provides different APIs to style buttons. You can use system styling using view modifiers or custom button styles. While writing this article, I learned about PrimitiveButtonStyle, which allows you to define both custom interactions and styling. New: Code for...
9 days ago • 5 min read
This week's SwiftLee Weekly covers: Exploring Apple Intelligence SwiftUI Design System Mutable let in Swift Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST SF Symbol: How to for Swift & SwiftUI Remember the days you've had to search for a specific icon all across the web? We can be blessed with the quality of SF Symbols, which we can use for free in our apps. This week's article covers everything around the 6,000+ symbols you can use, from animations and variants to creating custom...
16 days ago • 5 min read
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...
23 days 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...
30 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...
about 1 month 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...
about 1 month 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...
about 2 months 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 2 months ago • 5 min read