3 ms·
(My least favorite change) Restructured condition clauses You can no longer use the where keyword in guard, if, and while statements. The where keyword still ap
by rezashirazian 10y ago
(My least favorite change) Restructured condition clauses
You can no longer use the where keyword in guard, if, and while statements. The where keyword still applies to for loops in the form of for-in-where.
That's one of my favorite changes. The Where clause was very awkward when you had multiple optional unwrapping with various conditions. Now everything is nicely comma separated.