Releases: dSunny90/SSCollectionViewPresenter
1.0.1
CHANGE:
[Swift 6 Migration]
- Align with SendingState:
Boundablenow conforms toSendable. - Updated type-erased containers used by the presenter:
CellInfoandReusableViewInfomigrated for Swift 6 strict concurrency.
- Note: ViewModels conforming to
Boundablemust beSendable(for classes, consider@unchecked Sendable+ locking or migrate tostruct/actor).
1.0.0
🚀 SSCollectionViewPresenter v1.0.0 – First Release
🎯 Purpose
SSCollectionViewPresenter reduces the repetitive boilerplate of working with UICollectionView—such as cell registration, data source/delegate setup, and event forwarding—by introducing a ViewModel-driven, presenter-based architecture.
It seamlessly integrates with SendingState, enabling a clear, one-way flow of data and events between UI components and action handlers.
⸻
✨ Key Features
• Simplified UICollectionView Setup
• Automatic cell registration and reuse identifier management
• Eliminates manual data source and delegate wiring
• ViewModel-based Binding
• Bind ViewModels directly to cells via the presenter
• Clean separation of UI and business logic
• One-way Event Flow
• Events from cells/subviews are forwarded to the ActionHandlingProvider
• SendingState Integration
• Built on top of SendingState to streamline event handling
⸻
🔖 Version Info
• v1.0.0
• Initial public release 🎉
• Includes core presenter, ViewModel binding, and event forwarding (UIControl + GestureRecognizer support)
⸻