Fabián Cañas
fcanas.bsky.social
Fabián Cañas
@fcanas.bsky.social
Googler. Ex-Tweep
😭
December 31, 2024 at 2:53 AM
Oh no.
December 31, 2024 at 2:48 AM
Swift property observers work on most variable declarations. This only helps if you want to watch variables and you're open to recompiling.

Property wrappers work on any variable that isn't top-level code.

In neither case does the "property" need to be a property of a class, struct, or enum.
December 20, 2024 at 8:28 PM
May 15, 2023 at 5:18 PM