SwiftLee Weekly - Issue 265


This week's SwiftLee Weekly covers:

  • What's new in Xcode 16.3 and Swift 6.1?
  • Static vs. Dynamic dispatching
  • New: RocketSim AI

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

SwiftUI Grid, LazyVGrid, LazyHGrid Explained with Code Examples

SwiftUI offers a Grid view, but it also comes with a LazyVGrid and LazyHGrid. Do you know when to use which?

SPONSORED

Discover the Top 10 Best Practices in App Distribution

Appcircle seamlessly integrates the best app distribution practices into your CI/CD pipeline, backed by years of mobile CI/CD expertise. Maximize efficiency and streamline your app testing process with Appcircle's proven solutions. Learn more.

NEW SPEAKING GIG

Almere Tech Meetup

On Thursday, April 17th, I'll be giving my "From Side Project to Going Indie" talk at De Nieuwe Bibliotheek in Almere. This one is for those in the Netherlands—I'd love to see you there! You can sign up here.

CURATED FROM THE COMMUNITY

Swiftdata Architecture Patterns And Practices

How do you approach architecture in your code? This is even more a question when working with data storage frameworks like SwiftData. This article guides you.
azamsharp.com

Swift by Sundell is back!

This is excellent news for the community! John has published so many great articles in the past and shares his journey towards this blog relaunch. As a frequent writer, I truly recognize the challenges of running a successful blog. His first article directly proves why it’s great to have him back!
swiftbysundell.com

Method dispatch mechanisms in Swift: static and dynamic dispatch

Swift these days is so fast, we nearly feel the need to think about performance. Do you know the difference between static and dynamic dispatching? It used to be much more important back in the days of slower devices. I loved reading this article!
nilcoalescing.com

SwiftUI Environment - Concepts and Practice

While working with SwiftUI’s environment might be common sense, dealing with Swift 6 and using the transformEnvironment modifier could be new!
fatbobman.com

How to turn a SwiftUI color into a gradient

Short and simple, but I had no idea this property existed!
swiftwithvincent.com

CODE SNIPPET OF THE WEEK

RocketSim AI: Prompt for Design Improvements

I'm beyond excited to introduce you to RocketSim AI.

Ever looked at your iOS app and wondered, “How can this screen look better?”

With RocketSim AI, you can now get actionable UI improvement suggestions — just by prompting.

Check out the demo video and early access instructions on Twitter/X, LinkedIn, or Bluesky.

QUESTION OF THE WEEK

What's new in Xcode 16.3 and Swift 6.1?

Xcode 16.3 was released, and with it came Swift 6.1. Let's dive into the changes.

First, here's a list of all 11 proposals that went into Swift 6.1. It's a blessing to see our language getting improvements so frequently. There's currently a lot going on regarding improvements, and you can clearly see a path toward improved concurrency adoptability inspired by the vision document.

The Swift team published an official release article on their blog to guide you through a few highlights of the changes. I recommend looking into the release notes for Xcode 16.3.

These are my highlights of the latest Xcode release:

  • Predictive code completion improved
  • Swift Testing now includes Test Scoping Traits (See SWT-0007)
  • xcresulttool received many new commands

The latter might be the most surprising favorite for you, but it's an example of a potential new developer tool. I love reading through Xcode changelogs to find out new gems!

Meanwhile, Swift 6.2 is already in development. The Swift Evolution changes in this newsletter show that more improvements are expected soon.

Want to have your question answered next week? Ask your question via this form (anonymously) or reply to this email with your question.

EARN ROCKETSIM LIFETIME

Share and Earn RocketSim Lifetime & a 1-on-1 coaching session

Apple has recognized RocketSim as an Essential Developer Tool in the Mac App Store, and now you can get lifetime Pro access by sharing your unique referral link!

How to get started:

[RH_REFLINK GOES HERE]

Rewards:

  • Earn your first reward after just 3 sign-ups!
  • Check your progress anytime using your referral dashboard.
  • The grand prize? A personalized 1-on-1 career coaching session!

Several subscribers have already claimed their rewards—will you be next?

Thank you so much for your support, and until next Tuesday,

Antoine

SwiftLee Weekly by Antoine van der Lee

A new SwiftLee article, code snippet, Swift Evolution updates, 5 top community articles, and a weekly answer to a question from the community to level up your Swift skills.

Read more from SwiftLee Weekly by Antoine van der Lee

This week's SwiftLee Weekly covers: Build apps without Xcode or xcodebuild Camera support for Xcode's Simulator An App Store Connect feature you need to enable Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Billing Grace Period Explained: How It Works and Why It Matters During a workshop with Apple last week, I discovered several optimizations for my apps. One of them is a feature that's disabled by default, but that can reduce churn and retain more revenue: Billing Grace Period....

This week's SwiftLee Weekly covers: Default Isolation in Swift 6.2 The .ignoredByLayout() modifier in SwiftUI Optimizing Mathematical Computations in Swift Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Institutional Purchases: Understanding and Detecting Recently, I discovered a spike in total downloads of 25K installs. Yet, I did not see an unusual spike in trials or purchases. I decided to dive in and found out it was caused by something called Institutional Purchases. SPONSORED...

This week's SwiftLee Weekly covers: Testing SwiftUI views What's new in Swift 6.2? Using Model Context Protocol on iOS Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Universal Links implementation on iOS Do you know the difference between deeplinks and universal links? I can at least tell you that Universal Links offers a much better user experience. This week's article explains both differences and how you can implement them for your apps. SPONSORED Is Your Mobile CI/CD Pipeline...