Swiftpack.co -  tgymnich/ClosurePublisher as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
📡 Combine Publisher for closure results
.package(url: "https://github.com/tgymnich/ClosurePublisher.git", from: "0.0.1")


Simple publisher you can use to publish the result of a closure.

let publisher = Publishers.Closure(closure: { Date() } 


// swift-tools-version:5.0
import PackageDescription

let package = Package(
  name: "MyTool",
  dependencies: [
    .package(url: "https://github.com/tgymnich/ClosurePublisher.git", .from: "0.0.1"),
  targets: [
    .target(name: "MyTool", dependencies: ["ClosurePublisher"]),


Stars: 2
Last commit: 2 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

First release
2 years ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API