Skip to content

CaptureContext/combine-cocoa

Repository files navigation

combine-cocoa

CI

Cocoa extensions for Apple Combine framework.

Note

The package is in beta

Installation

Basic

You can add CombineCocoa to an Xcode project by adding it as a package dependency.

  1. From the File menu, select Swift Packages › Add Package Dependency…
  2. Enter "https://github.com/capturecontext/combine-cocoa.git" into the package repository URL text field
  3. Choose products you need to link them to your project.

Recommended

If you use SwiftPM for your project, you can add CombineCocoa to your package file.

.package(
  url: "https://github.com/capturecontext/combine-cocoa.git",
  .upToNextMinor(from: "0.3.0")
)

Do not forget about target dependencies:

.product(
  name: "CombineCocoa", 
  package: "combine-cocoa"
)
.product(
  name: "CombineCocoaMacros", 
  package: "combine-cocoa"
)

Note

The package is compatible with non-Apple platforms, however this package uses conditional compilation, so APIs are only available on Apple platforms

License

This library is released under the MIT license. See LICENCE for details.

See [ACKNOWLEDGMENTS][ACKNOWLEDGMENTS] for inspiration references and their licences.