domain | swiftbysundell.com |
summary | The text discusses different modifications to a User struct. Firstly, adding a default value for the User's id property, avoiding the need to manually pass UUID every time a new user is created. The id property would be marked as let rather than var. Secondly, making all non-id properties variables while keeping id as let since it should never change during a user's lifetime. Lastly, introducing an API for transforming a User value, such as the normalizeName method previously defined. |
title | Swift by Sundell |
description | Weekly Swift articles, podcasts and tips by John Sundell |
keywords | user, view, code, string, value, swift, like, above, type, content, using, configuration, system, have, header, design, then |
upstreams |
persistent.info |
downstreams |
|
nslookup | A 104.26.2.236, A 104.26.3.236, A 172.67.73.61 |
created | 2024-11-30 |
updated | 2025-09-01 |
summarized | 2025-09-01 |
|
|