3 ms·
Swift also has the `defer` statement which makes this particular approach usable even if there is cleanup to do before the function can exit.
by yoz-y 9y ago
Swift also has the `defer` statement which makes this particular approach usable even if there is cleanup to do before the function can exit.