Tue, 19 Nov 2024 14:00:07 +0000
iosdev, swiftlang

🤩 Love building tiny utility structs like this one for logic that I reuse often in my apps.

🔑 This example uses keypaths and generics to diff the value of a property across two instances of the same type and only produce a value if it it has changed. This is particularly useful when making updates to entities in the App Store Connect API!