Functional Swift: Updated for Swift 4
Author | : Florian Kugler |
Publisher | : Independently Published |
Total Pages | : 236 |
Release | : 2014-11 |
ISBN-10 | : 172660991X |
ISBN-13 | : 9781726609913 |
Rating | : 4/5 (1X Downloads) |
Download or read book Functional Swift: Updated for Swift 4 written by Florian Kugler and published by Independently Published. This book was released on 2014-11 with total page 236 pages. Available in PDF, EPUB and Kindle. Book excerpt: This book will teach you how to use Swift to apply functional programming techniques to your iOS or OS X projects. These techniques complement object-oriented programming that most Objective-C developers will already be familiar with, providing you with a valuable new tool in your developer's toolbox. We will start by taking a look at Swift's new language features, such as higher-order functions, generics, optionals, enumerations, and pattern matching. Mastering these new features will enable you to write functional code effectively. After that, we will provide several examples of how to use functional programming patterns to solve real-world problems. These examples include a compositional and type-safe API around Core Image, a library for diagrams built on Core Graphics, and a small spreadsheet application built from scratch.