jessesquires / jessesquires/ReactiveCollectionsKit

[Feature Request]: Support Custom Events for CellEventCoordinator

Open
#159 4 comments 1 reaction 0 assignees View on GitHub
feature request
Dominant language
Swift
Stars
194
Forks
12
PR merge metrics
No merged PRs in 30d

Description

### Guidelines

- [x] I agree to follow this project's Contributing Guidelines.

### Description

Currently, `CellEventCoordinator` only supports a predefined set of cell events (`didSelectCell`,`didDeselectCell`).
In many real-world scenarios, developers need to react to additional, domain-specific interactions that don’t fit into the existing event types. It would be very helpful if `ReactiveCollectionsKit` allowed users to define and emit custom events within `CellEventCoordinator`.

Example Use Case:

In many apps, analytics and event tracking are handled centrally at the ViewController level. For example, when a cell triggers a specific business interaction (e.g., "Add to Favorites", "Open Detail with Special Mode", or "Trigger custom SDK event"), we want to forward this as a typed event through the same coordinator pipeline rather than creating parallel event systems. Custom events would make it possible to standardize these flows while still leveraging the existing reactive structure.

### Problem

N/A

### Proposed Solution

N/A

### Alternatives Considered

N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.