From 00e2afee67d06f0005cb4ca02d024ee34e249341 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Mon, 2 Oct 2023 23:00:23 -0400 Subject: [PATCH] Update custom traits post --- site/posts/2023-10-02-custom-traits.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/posts/2023-10-02-custom-traits.md b/site/posts/2023-10-02-custom-traits.md index b30692d..fd5afa5 100644 --- a/site/posts/2023-10-02-custom-traits.md +++ b/site/posts/2023-10-02-custom-traits.md @@ -42,7 +42,7 @@ extension UIMutableTraits { } ``` -And with that, I can continue using my custom trait just as I was prior to iOS 16, but without any of the pile of hacks. +And with that, I can continue using my custom trait just as I was prior to iOS 17, but without any of the pile of hacks. Reading the trait from a `UIColor`'s `dynamicProvider` closure works exactly as you expect and updates when appropriate.