84: “Key paths, functions and closures” with special guest Vincent Pradeilles
Vincent Pradeilles joins John to discuss various ways to use Swift language features like key paths and closures, how they relate to patterns typically used within functional programming, and when and how to adopt such patterns.
Sponsors
- Instabug: Bug, crash, and performance monitoring for iOS apps. Go to instabug.com/sundell to learn more about Instabug’s new App Performance Monitoring feature, and to start your free trial.
- Bitrise: Fast, stable and highly customizable continuous integration. Automatically build, test and distribute your app on every single commit that you make. Get started for free at bitrise.io/swift.
Links
- Vincent on Twitter
- John on Twitter
- ios_memes
- Function builders
- Property wrappers
- Combining dynamic member lookup with key paths
- SwiftUI’s List type
- NSSpain (use offer code “Sundell” for 10% off, by the way)
- Key paths
- Passing key paths as functions
- Map, FlatMap and CompactMap
- Combine
- GraphQL
- CaseIterable
- Sourcery
- First class functions
- Function currying
- Haskell
- Dependency injection using functions
- Pure functions
- Vincent’s talk about function composition
- Vincent’s talk about implementing pseudo-keywords through functional programing
- Swift’s closure capturing mechanics
- Kickstarter’s iOS app
- The delegate pattern
- Vincent’s KeyPathKit library
- Vincent’s YouTube channel
- “Crazy idea: What if we used marketing to start a tech blog?“
- Intro and outro music by Dariusz Dziuk