SwiftLee Weekly - Issue 249


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 symbols using vector exports.

SPONSORED

Create a complete design system using SwiftUI

Get a step-by-step blueprint for creating a complete design system using SwiftUI. From Figma to fully functional code, it’s all included in the Crafting Consistency book. Grab your copy today with 40% off.

CURATED FROM THE COMMUNITY

Migrating XCTest to Swift Testing

I’ve been using Swift Testing for a while now and prefer it for any of my projects if possible. This article helps you migrate an existing project from XCTest to Swift Testing.
useyourloaf.com

let is a lie (sometimes)

You would say you can never mutate a let in Swift, but is that true?
swiftwithvincent.com

Be careful wrapping a throwing function in a Task

While the Swift compiler in Swift 6 language mode helps a lot, some cases might surprise you when writing concurrency code. This example by Vincent Pradeilles is another one of those.
swiftwithvincent.com

Exploring Apple Intelligence: Image Generation

We’re still at the beginning of the AI possibilities within Apple’s APIs. Unfortunately, the available APIs confirm this thought, although there are already a few APIs to play around with.
createwithswift.com

How to change your app's business model from paid to freemium using StoreKit

I’m reading a book on growing a startup as we speak, and one of the chapters talks about pivoting and changing business models. It’s crucial to find product market fit, and this article by Pol Piella can help you execute.
polpiella.dev

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.

QUESTION OF THE WEEK

Is there room for newcomers in the iOS newsletter space, and how can a newsletter audience be grown?
Anonymous

I'd love to answer this question more generally since it seems to resemble another question I often get asked: "Is it still worth writing an article on this topic with so many others already published?" or a similar one about creating a new app.

When I started my blog in 2015, I wrote many articles already published by others. My words, my explanation, worked better for some developers. Your writing will be different, and you will likely cover various aspects of the same topic that will help at least someone on the web.

It's the same for a newsletter. Even if you start a curation newsletter that might look similar to mine or any of the other newsletters out there, I'm sure you'll find subscribers who prefer yours. That could be because they're unaware of other newsletters or just because they like your curation over others.

In my opinion, you should never let yourself be stopped just because someone else is doing what you like. You can do something different, maybe even better, and build your own audience with that.

Growing your audience will be challenging—not for the actual growth but for the so-called "Valley of Disappointment." I cover this topic in my course, and it relates to the idea of expected growth not lining up with actual growth. It takes time to build an audience, and there are many ways to do it. I can't list all the details in this small section of my newsletter, but if there's one thing: consistency, make sure to deliver a newsletter of high quality on a consistent day, and your subscribers will follow.

Good luck!

Want to have your question answered next week? Ask your question via this form (anonymously)

EARN ROCKETSIM LIFETIME

Share and Earn Rewards

Apple lists RocketSim as an Essential Developer Tool in the Mac App Store, and now you can enjoy lifetime Pro access by spreading the word!

Share your unique referral link below with fellow developers who would appreciate my newsletter:

[RH_REFLINK GOES HERE]

Check your referral count anytime and track your progress toward earning your reward.

A big shout-out to P. Boelck for the referrals!

Last week, H. Gediya managed to get enough referrals for a RocketSim lifetime license. This week, it's P. Boelck, who managed the same! Thanks a lot for sharing the word and I hope to see you in a 1-on-1 soon!

Thanks, and until next Tuesday,

Antoine

SwiftLee Weekly by Antoine van der Lee

SwiftLee Weekly keeps you up-to-date with the latest Swift Evolution proposals, delivers 5 handpicked articles from the community, and challenges your knowledge with a weekly question. Enjoy a monthly giveaway and dive into a fresh new article from SwiftLee every week. Plus, unlock $264 worth of exclusive discounts by subscribing.

Read more from SwiftLee Weekly by Antoine van der Lee

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...

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...

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...