jessesquires / jessesquires/ReactiveCollectionsKit
[Feature Request]: Support Custom Events for CellEventCoordinator
- 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
Assessment
This issue has not been assessed yet.