Quantcast
Channel: November 2015 – Michael Tsai
Viewing all articles
Browse latest Browse all 70

Where “where” May Be Used in Swift

$
0
0

Marcin Krzyżanowski:

The fact is you can use where keyword in a case label of a switch statement, a catch clause of a do statement, or in the case condition of an if, while, guard, for-in statement, or to define type constraints.

There are no Python-style list or dictionary comprehensions, though.


Viewing all articles
Browse latest Browse all 70

Trending Articles