Stupid me, and Xcode, it's a code autocomplete function that bothers me.
The small icons in the code shown in the first screenshot are not nice visual decorations that match my variable names (although I would like these clever βemojiβ to decorate my code). They indicate that what I declare after let is not a variable, but itself.
You must be careful not to recognize autocomplete when entering text and when using plain text when declaring a constant. After such an announcement, you will see that there are two different ones, for example, emptyStar with the same name - one image and the other a constant.

Here's the latest code, a barely noticeable visual change!

Huatham
source share