Something about function results, 'Void', and '()'
jpmhouston opened this issue · 2 comments
jpmhouston commented
Something about function results, 'Void', and '()'
jpmhouston commented
Thanks for this cheat sheet, I used it just now to remind myself how to correctly order a property's initialized value and its observer block (didGet
/didSet
).
I happened to see that ()
is mentioned as a function result without it being explained. You could also say there how it can also be spelled Void
, and could also give a mention to Never
.
iwasrobbed commented
Thanks @jpmhouston ! I'll keep the issue open for now, but also please feel free to fork this repo and add the information to it yourself in the form of a pull request :) Any help is greatly appreciated