Snapp Mobile iOS Newsletter

Issue 21 • December 20, 2024

Hi folks,

As this is the last issue of the newsletter for the year, we wish you happy holidays.

Let us all take some good rest and prepare to make the next year better. :)

Enjoy the selection!

Swift

COW2LLVM: The isKnownUniquelyReferenced Deep-Dive

Dive deep into one of the optimizations in the Swift Language — the copy-on-write. Discover how it really works by looking into the source code of the Swift compiler.

What is a Crash?

Promoted as “an exceptional deep dive”, who are we to argue? This is another valuable article from Jacob Bartlett focused on error handling in Swift.

Xcode Kotlin - Xcode support for Kotlin browsing and debugging

Now, this is something that some developers may find very useful. If you have to adopt some KMP in your project, it is no doubt helpful to have access to the Kotlin side of things — even if it’s for overcoming the black box syndrome. The debugging features are quite a bonus.

UI/UX

Xcode Library customization with SPM plugin

If you ship a package of custom components, exposing them to Xcode’s library is something that will pay off in the long term for sure. The LibraryContentProvider protocol has been around since iOS 14, so doing this now will affect most of your clients. Here’s how.

Blooming fireworks with Metal and SwiftUI

It’s almost New Year — let’s have some fireworks!

Auto-filling one-time verification codes in SwiftUI

Social media can be a great source of targeted, bite-sized pieces of information for us to absorb. This Bluesky post is a great example.

Repositories

SelectiveEquatable

This micro-framework helps you deal with conforming to Equatable by checking only certain properties of your type — something that may be valuable for your project.

iOS-Performance-Optimization

This repository contains a collection of links to performance-related articles and tools, grouped into focused collections for sorting out app size issues, slow build times, slow app launch times, app hangs, and more. Bookmark-worthy material!