Tag: Swift 5
-
Swift 5 – it’s alive!
It’s been a couple of weeks now since Swift 5 has arrived, with a bunch of features, such as: ABI stability source compatibility isMultiple – a fancy technique for checking if a…
-
flatMap vs compactMap
In Swift 4.1, the flatMap function was divided into two functions. One kept the same name: flatMap This method flattens a sequence. Let’s say we have a two-dimensional array: [sourcecode language=”javascript”] let…

