Repository navigation
First public release of SwanDevice, a Swift package for media permissions, image capture and selection, and speech recognition.
- ImagePicker on iOS provides async APIs for camera capture and single or multiple photo selection. The system photo picker works without requesting direct access to the photo library.
- SpeechRecognizer on iOS and macOS transcribes microphone audio. On iOS, apps can let SwanDevice manage the audio session or manage it themselves.
- Media permissions provide async requests for camera, microphone, photo library, and speech access where supported.
Requires Swift 6, iOS 17+, macOS 14+, or tvOS 17+. See the platform matrix in the README for API availability.
Includes an iOS demo and documentation in English and Russian. On iOS Simulator, 13 unit tests and 7 integration and UI tests passed, covering photo selection, preview, dismissal, task cancellation, and overlapping picker requests.