Matthaus Woolard

@hishnash
409 Followers
136 Following
302 Posts
Data Scientist, #Python and #SwiftLang, macOS/iPadOS app developer πŸ‡³πŸ‡Ώ
NIL COALESCING BLOGhttps://nilcoalescing.com
Exsto Apphttps://exsto.app

My new SwiftUI book is finally out! πŸŽ‰

I wrote "The SwiftUI Way" for developers who feel like they are fighting the framework as their projects grow in complexity. The book will help you align your code with SwiftUI's internal expectations to avoid common pitfalls.

https://books.nilcoalescing.com/the-swiftui-way

#iOSDev #SwiftUI

The SwiftUI Way

A field guide to SwiftUI patterns and anti-patterns

Nil Coalescing Books
The recording of my talk from iOS Conf SG is now available on YouTube! In this talk I share 5 key ideas for building a SwiftUI mindset and show a few examples of what can go wrong in practice when SwiftUI principles are misunderstood: https://www.youtube.com/watch?v=Y_Ov-ddMb24
#SwiftUI #iOSDev
The SwiftUI Mindset: 5 Key Ideas to Avoid Common Pitfalls

YouTube
On iOS 26, we have a new SwiftUI modifier, lineHeight(_:), for adjusting the distance between the baselines of two subsequent lines of text. There are a few options available in this new API, so I thought I would look through how they behave in practice: https://nilcoalescing.com/blog/AdjustingLineHeightInSwiftUIOniOS26
#iOSDev #SwiftUI
Adjusting line height in SwiftUI on iOS 26

iOS 26 introduces the lineHeight(_:) modifier and AttributedString.LineHeight attribute for adjusting vertical spacing between lines of text in SwiftUI.

Nil Coalescing
The February issue of the Nil Coalescing newsletter is out πŸ“¬
It’s been a busy month for our team with lots of travel! I've shared a glimpse into my "Swift's Hidden Gems" talk from the ARCtic Conference, a new SwiftUI post, and plans for the near future.
https://nilcoalescing.com/newsletter/2026-02-28
Nil Coalescing - Nil Coalescing Newsletter - February 2026

February is the shortest month of the year, yet for our team at Nil Coalescing, it was an incredibly packed one. We spent most of it on the move! I recently had the opportunity to speak at the ARCtic Conference in Finland.

Nil Coalescing

@connected @viticci for the cameras on AiPods I do not expect these to be used to take pictures.

Instead I expect these are purely there to enable gesture based operations. They would then only be looking down along the stem to see users hands.

Being able to pause and play audio, confirm or reject a phone call with a distant hand gesture would be compelling and might well go hand in hand with glasses and or a pendent that cant see down just forwards.

For precise control over which attributes should animate in SwiftUI, especially in generic components that accept arbitrary content, we can use the animation(_:body:) API introduced in iOS 17 to avoid accidental animations.

I've written a post about it: https://nilcoalescing.com/blog/IsolateSwiftUIAnimationsToSpecificAttributes

#iOSDev #SwiftUI

Isolate SwiftUI animations to specific attributes

Precisely scope animations to specific animatable attributes by using the animation(_:body:) API introduced in iOS 17.

Nil Coalescing
Last week I had an amazing opportunity to be part of @ARCticConference and present a talk on lesser known Swift language features. I really enjoyed the conference and my stay in Lapland ❄️ β˜ƒοΈ 🦌 Thank you to all the organizers, speakers and attendees!
Yesterday I joined a book club session with iOS developers at Expedia who have been reading SwiftUI Fundamentals (https://books.nilcoalescing.com/swiftui-fundamentals). We talked through some of the less obvious parts of SwiftUI, and their feedback about the book was genuinely very positive. Moments like this make writing it feel worthwhile 😊
SwiftUI Fundamentals

The essential guide to SwiftUI core concepts and APIs

Nil Coalescing Books

@connected The only viable approach to prompt injection attacks is to ensure the LLM that can run actions never gets plain text of inputs.

What I should do is schedule another LLM that is constrained to just returning a priority value (0 to 10) (with a clear history for each email) then a script (JS/shortcut etc) uses to sort each email based on its ID and priority value.

Then the worst a prompt injection can do is get an email to be higher priority than it should be.

The January issue of the Nil Coalescing newsletter has been sent out and is now available online: https://nilcoalescing.com/newsletter/2026-01-27/

I shared some insights from iOS Conf SG, the main ideas from my own talk on building a SwiftUI mindset, and also a few learnings from other talks.

#iOSDev #SwiftUI

Nil Coalescing - Nil Coalescing Newsletter - January 2026

In this issue of the newsletter, I want to share some insights from iOS Conf SG, including the main ideas from my own talk, as well as a few learnings from other talks at the conference. I hope you will find something useful and applicable to your own work.

Nil Coalescing