Swiftpack.co -  yoshimkd/swift-event-handler as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
yoshimkd/swift-event-handler
A minimalistic Swift framework to help the implementation of the event-driven architecture pattern in Swift. (inspired by Redux)
.package(url: "https://github.com/yoshimkd/swift-event-handler.git", from: "v1.0.0")

SwiftEventHandler

A minimalistic Swift framework to help the implementation of the event-driven architecture pattern in Swift. (inspired by Redux)

See a demo project

RandomTable

How you can use it

Manually

  1. Clone or download the project;
  2. Copy the SwiftEventHandler.xcodeproj and SwiftEventHandler in your project;
  3. Embed the SwiftEventHandler.xcodeproj in your Xcode project. This tutorial can help you do that.

With Swift Package Manager

  1. Create a file Package.swift in the root folder of your project if it doesn't exist already;
  2. In the Package.swift file, specify the SwiftEventHandler dependency. Here's what a new Package.swift file may contain:
// swift-tools-version:4.2

import PackageDescription

let package = Package(
  name: "PackageName",
  dependencies: [
    .package(url: "https://github.com/yoshimkd/swift-event-handler.git",
             .exact("1.0.0"))
  ],
  targets: [
    .target(name: "TargetName",
            dependencies: ["SwiftEventHandler"],
            path: "path-to-the-container-of-the-source-files")
  ]
)
  1. Run swift build in the folder that contains the Package.swift file;
  2. Optionally, you can create an Xcode project by running swift package generate-xcodeproj.

GitHub

link
Stars: 4
Last commit: 2 years 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

1.0.0
2 years ago

Initial release.

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