Releases: Cay-Zhang/SwiftSpeech
Releases · Cay-Zhang/SwiftSpeech
v0.9.3 - CocoaPods Support
v0.9.2 - Audio Session Configurations
- Added:
SwiftSpeech.Session.Configuration
now has a new propertyaudioSessionConfiguration
of typeSwiftSpeech.Session.AudioSessionConfiguration
. Use it to customize the audio sessions in your app. For example, if you want your app to play some audio while/after recordings, you can set the configuration to.playAndRecord
. - Changed Behavior: Swift Speech now by default deactivates your app's audio session when a recording session stops, meaning other apps can resume their audio playback when your user finishes speaking. If you would like to change this behavior, see
SwiftSpeech.Session.AudioSessionConfiguration
.
v0.9.1 - Graceful Error Handling
- Errors happened during the initialization of the recording session (such as a microphone activation failure) are now sent through
resultSubject
, so that you can catch them in error handlers ofonRecognize
.
v0.9.0 - Session Configurations
- Added:
SwiftSpeech.Session.Configuration
. - Added: Session configuration support for built-in Functional Components.
v0.8.0
- Added: The companion project for SwiftSpeech: SwiftSpeech Examples.
- Changed: A more powerful set of
onRecognize
modifiers that is ready for complex tasks. Check README for more information. - Added:
FunctionalComponentDelegate
makes it easier to support SwiftSpeech Modifiers. - Added: Xcode library contents for Xcode 12.
- Changed: The new authorization system gives you more control over when to request an authorization.
A bunch of new updates!
We've come a long way!
Features and changes since v0.2.0:
SwiftSpeech.Session
was implemented to avoid strong references toSpeechRecognizer
.- A couple of demos!
- Utilized SwiftUI Environments to build a composable structure: stack your SwiftSpeech Modifiers together to create powerful effects!
- Added
SwiftSpeech.State
and thus supported reacting to a cancelling state in a View Component. - Updated
SwiftSpeech.RecordButton
to react to a cancelling state. - New Functional Component:
ToggleRecordingOnTap
. - A rich Readme with GIFs!
SwiftUI Integration!
Implemented foundations for SwiftUI integration (RecordOnHold
).
Added several View
extensions: now you can make any View
a record button with just one line of code!
SwiftSpeech
namespace overhaul.