Craig Grummitt – Before I forget

Discoveries in Swift and iOS development.

Tag: Swift 5

  • Swift 5 – it’s alive!

    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…

    Keep reading

  • 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…

    Keep reading