SwiftLee Weekly - Issue 252


This week's SwiftLee Weekly covers:

  • SwiftLee 2024 In Review
  • SwiftLee's Most Read Articles of 2024
  • What to expect from SwiftLee in 2025

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

SwiftLee in 2024: Lessons learned and achievements

Time flies when you're having fun! I truly started having fun after going indie in March of 2024: one of my significant achievements. This week's article reviews my lessons learned, achievements, and looks ahead into 2025.

SPONSORED

Screenshotbot: Scale up your snapshot tests, without the friction

Spending too much time maintaining snapshot tests? Screenshotbot works with your existing snapshot tests and stores your images. Say goodbye to Git LFS. Screenshotbot notifies you on pull-requests when snapshots change. Curious? Try out Screenshotbot!

SWIFTLEE'S MOST READ ARTICLES OF 2024

1. Async await in Swift explained with code examples

With Swift 6, concurrency is more popular than ever. A clear winner of this year is my article on async/await.
avanderlee.com

2. MainActor usage in Swift explained to dispatch to the main thread

Recently updated and also related to concurrency: how to properly use @MainActor in Swift?
avanderlee.com

3. Sendable and @Sendable closures explained with code examples

Unsurprisingly, after basic async/await knowledge and diving into actors, Sendable types often cause confusion.
avanderlee.com

4. @ViewBuilder usage explained with code examples

Have you ever used @ViewBuilder consciously? It’s pretty valuable for SwiftUI and a popular article in 2024.
avanderlee.com

5. @StateObject vs. @ObservedObject: The differences explained

While we don’t need these types anymore since the introduction of Observable, this article is still read often enough to be in the top 5 of 2024.
avanderlee.com

SWIFT EVOLUTION

An overview of last week's Swift Proposal state changes. Check them out when they're in review, as it's your opportunity to influence the direction of Swift's future.

There are no updates this week due to the holidays!

QUESTION OF THE WEEK

How can I get my question(s) answered in a future newsletter issue?
Anonymous

This week, there's no question of the week. Instead, I'd love for you to submit your questions via this form. It only takes a minute, and it's an excellent opportunity for you to benefit from the experience of developing apps since 2009.

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, happy new year, 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: 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...

This week's SwiftLee Weekly covers: 3 Indie Marketing Tips Using Task Local values for dependencies Will WWDC have a big impact? Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Testing push notifications on the iOS simulator Many apps support push notifications, but Xcode doesn't provide an easy way to test them in the Simulator. Your options are limited, and many developers reach out to their physical device combined with some kind of testing server. Luckily, there's a native Mac...