Part (V) : Farewell , Swifty Collections!

A brief summary on swift collections' functions such as reduce, filter, map and etc.

November 26, 2021 · 5 min · Alireza Rezagholian

Part (IV) : What is .reduce in Swift?

Let’s learn what is .reduce and .reduce into in Swift’s collections and much more about such Higher Order Functions …

November 18, 2021 · 10 min · Alireza Rezagholian

Part (III) : What is .filter in Swift ?

Let’s learn what is .filter in Swift’s collections and much more about such Higher Order Functions …

November 13, 2021 · 4 min · Alireza Rezagholian

Part (II) : What are .map , .compactMap and .flatMap in Swift

Let’s dig in our very first and also one of the most useful Higher Order functions in Swift’s collections !

November 13, 2021 · 7 min · Alireza Rezagholian

Part (I) : What are Higher Order functions in Swift's collections ?

Ok Ok, first of all , What are collections in Swift? It’s simple! As mentioned in swift.org : Swift provides three primary collection types (arrays, sets, and dictionaries) for storing collections of values. Arrays are ordered collections of values. Sets are unordered collections of unique values. Dictionaries are unordered collections of key-value associations. … note that these collection types are implemented as generic types. Assuming that you’re familiar with at least one of these types, let’s get familiar with the hero, Higher Order functions !...

November 11, 2021 · 1 min · Alireza Rezagholian