Skip to content
Contains all files needed for my Combine workshop.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Combine Workshop

A workshop to get you started with the Apple Combine framework.

How to?

  • Watch and listen, Antoine explains you the basics using the Combine Swift Playground
  • Work in pairs of two (more fun if you don't know each other yet!)
  • Ask me to verify and give feedback on your step implementation
  • Implement each exercise step!

Four steps

  • Connect a single UISwitch to a button enabled state
  • Connect three UISwitch instances to a button enabled state
  • Handle form validation
  • Implement a search view to search for Swift repositories on Github

Extra exercises if you're really fast!

  • Step 3: Use the asynchronous usernameAvailable() method to validate the username
  • Step 3: Change the UITextField background color based on valid input to .red or .green
  • Step 4: Set UIApplication.shared.isNetworkActivityIndicatorVisible to true when the request is running

Available Combine operators

Useful resources

You can’t perform that action at this time.