What problem does it solve?
XXFPhotoPicker provides an abstraction layer for image and video selection on iOS/macOS, enabling apps to switch between native and third-party pickers without changing business logic, reducing boilerplate and fragmentation.
Core Features & Use Cases
- Abstract interface for selecting photos and videos across providers
- Pluggable implementations (e.g., system native or third-party like ZLPhotoBrowser)
- Configurable options such as max selection, video support, and cropping
- Simple integration workflow: read source files, invoke the abstract API, register a provider at startup
- Reusable across posting, profile setup, and onboarding flows requiring media selection
Quick Start
Implement and configure the xxf-photo-picker abstract layer, then initialize its provider (e.g., xxf-photo-picker-zl) and call its picker interface in your view controller.