Summary of WWDC2019: Combine in Practice keynote

Scheduled Operators

Summary of Publishers

  • They are a recipe for an event stream
  • Operators describe new publishers from existing ones
  • Strongly typed values/errors over time.
  • Can produce values synchronously or asynchronously (Just or Notification center for example)
  • Can attach compatible subscribers.

Subscribers

  1. In response to a subscribe call, a publisher will call receive(subscription:) exactly once.
  2. A publisher can then provide 0 or more values to a subscriber, after the subscriber requests them.
  3. A publisher can send at most a single completion indicating that the publisher has finished or a failure has arisen. Once that completion has arisen, no further values may be emitted.
  • Key path assignment
  • Sinks
  • Subjects
  • SwiftUI

Subjects

SwiftUI Integration Subscriber

--

--

--

Follow me for summaries of top-selling business books.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

TikTok iOS SDK Swift— Videos, Photos Sharing in TikTok from your iOS app

7 Useful iOS Libraries You Should Use in Your Next Project

iOS — Start a project without storyboard |Xcode 12

A MacBook displaying lines of codes.

DIY Digital Photo Frame in less than 20 minutes

SwiftUI — Data transfer between Structs

Navigation in Swift UI

Email Validation in Swift

Optionals and Unwrapping optionals in swift

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alexei: short business book summaries & tech blog

Alexei: short business book summaries & tech blog

Follow me for summaries of top-selling business books.

More from Medium

Architecture decisions in Landbot

Code Reviews are bottlenecks. What is the point of Code Reviews?

The CTO Role, Location based remote salaries and more

Introducing Alphadoc: A tool to level up your developer experience