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: We can use the flatMap higher order function to ‘flatten’ this…
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: We can use the flatMap higher order function to ‘flatten’ this…
Thinking of learning more Swift, but not sure what book would be right for you? I’ve been busy compiling a book with Manning Publications, called “Exploring Swift“, which has sample chapters from three books: iOS Development with Swift by me!…
I’d love for you to check out my video course “iOS Development with Swift in Motion”. The course is out on Manning’s livevideo platform, and if you get in early with Manning’s early access program you can get 40% off…
Exciting news! For most of this year I’ve been busy working on a series of video tutorials in iOS and Swift, and this week we’re launching the Manning Early Access Program(MEAP) for the course. There will be 13 units in…
Exciting news – the book I have been working on for almost two years, iOS Development with Swift, is now done, published, printed and available on Amazon or in a bookstore near you. The book is aimed at experienced programmers looking…
Block comments, key bindings and feeling foolish!
Do you ever get stuck on something, and then when you work out what you were doing wrong you feel a bit foolish? I was just thinking – it would be much more convenient if there was a keyboard shortcut…
Posted in Swift