CombineSwiftPlayground
A Swift playground explaining the concepts of the new Combine framework
Install / Use
/learn @AvdLee/CombineSwiftPlaygroundREADME
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
Publisherand UIKit extensions - Debugging publishers
More to come!
Requirements
- Xcode 11 beta 4
Example of a playground page

Interesting resources
Some interesting resources regarding Combine.
- Getting started with the Combine framework in Swift
- Creating a custom Combine Publisher to extend UIKit
- Combine debugging using operators in Swift
- RxSwift to Apples Combine
- WWDC 2019 s721 - Combine in practice
- WWDC 2019 s722 - Introducing Combine
- Open Source insight of Combine
Interesting Frameworks
Some interesting frameworks regarding Combine.
Related Skills
node-connect
344.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
99.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
