Creek critters: black heron at the dinner table
Swift Standard Library at Apple
he/him π³οΈβπ
Swift Standard Library at Apple
he/him π³οΈβπ
@nicklockwood There is no difference whatsoever. (It would be a pretty serious stdlib bug if there was any; so please do report if you find otherwise.)
Itβs a matter of taste, but I expect most developers find initialization using the empty literal to be more readable β that is why this notation exists. It would be quite a shame if tools discouraged its use.
@joesteel I find it almost magical, but it needs a very specific kind of picture β it works well for me when shooting subjects through a pane of glass, like museum installations or this sad little koala in the SF Zoo