/CombineSwiftPlayground

A Swift playground explaining the concepts of the new Combine framework

Primary LanguageSwiftMIT LicenseMIT

A Swift Playground explaining the concepts of the new Combine framework

This playground will help you to get started with Combine - Apple Developer Documentation.

Included in this playground

The playground is a paged playground and is built up in several chapters

  • What is Combine?
  • Publishers & Subscribers
  • Rules of subscriptions
  • Foundation and Combine
  • @Published property and bindings
  • Memory management explained with AnyCancellable
  • Flatmap and matching error types
  • Combining Publishers
  • Future and Promises
  • Custom Publisher and UIKit extensions
  • Debugging publishers

More to come!

Requirements

  • Xcode 11 beta 4

Example of a playground page

Interesting resources

Some interesting resources regarding Combine.