No results.

360|iDev 2015

Sessions recorded at the annual 360|iDev conference.

Benjamin Encz - Safer Swift Code with Value Types

New language, new programming paradigms. Since the release of Swift the Cocoa developer community is increasingly experimenting with functional programming. How can we adopt FP principles in real world applications?

This talk will discuss how apps can make use of value types to avoid common code smells and bugs. We will also discuss other benefits of a functional approach, such as modularity through function composition.

Throughout the talk we will build a non-trivial iOS app that relies strongly on immutable value types. The main goal of this talk is to show pragmatic approaches for applying functional programming principles to common problems in Cocoa development.

Detailed outline:

A brief introduction to value types in Swift
Why is this the right time for this talk? (Value types are very powerful in Swift, Swift standard library promotes value types)
Motivation for using value types (discuss existing pain points in Objective-C apps, e.g. using “copy” qualifier for String properties)
Example: An App with network functionality using functional programming paradigms and value types (e.g. Twitter client)

×

Contact

Powered by Vimeo Pro