swift-sdk

The Watson Swift SDK enables developers to quickly add Watson Cognitive Computing services to their Swift applications.

APACHE-2.0 License

Stars
877
Committers
49

Bot releases are visible (Hide)

swift-sdk - v0.8.0

Published by glennrfisher about 8 years ago

This update adds support for Xcode 8 and Swift 2.3+.

swift-sdk - v0.7.0

Published by glennrfisher about 8 years ago

This update adds a new implementation for Speech to Text. The implementation includes a better, redesigned API. It also includes two separate classes, SpeechToText and SpeechToTextSession for simple and advanced usage, respectively. In particular, SpeechToTextSession exposes more control over the WebSockets session and microphone, including access to raw data and the decibel power level.

swift-sdk - v0.6.2

Published by glennrfisher about 8 years ago

This releases fixes a broken link in the Speech to Text service's TranscriptionSettings model. It also adds a Text to Speech test for Japanese text.

swift-sdk - v0.6.1

Published by glennrfisher about 8 years ago

This release fixes a bug with the context model of the Conversation service.

swift-sdk - v0.6.0

Published by glennrfisher about 8 years ago

This update adds the Retrieve and Rank service. It also adds re-training functionality to Visual Recognition and includes several minor documentation updates.

swift-sdk - v0.5.0

Published by glennrfisher about 8 years ago

This release adds the ConversationV1 service, along with the following minor updates:

  • All Services: Add support for iOS 8+
  • All Services: Update tests to improve consistency
  • Travis: Update CI to build and test with both iOS 8 and iOS 9
  • Alchemy Language: Change forUrl parameter to forURL
  • Alchemy Vision: Deprecated in favor of Visual Recognition
  • Relationship Extraction: Deprecated in favor of Alchemy Language
  • Text To Speech: Add test for empty string
  • Tone Analyzer: Update to the general availability URL

Note that the Alchemy Vision and Relationship Extraction services remain in the SDK. You can continue to use these services in your applications, but they will result in a deprecation build warning.

swift-sdk - v0.4.2

Published by glennrfisher over 8 years ago

This release fixes issue #363 by modifying the RelationshipExtractionV1Beta scheme to avoid building/profiling/archiving/analyzing the RelationshipExtractionV1BetaTests target.

swift-sdk - v0.4.1

Published by glennrfisher over 8 years ago

This is a minor update to add documentation.

swift-sdk - v0.4.0

Published by glennrfisher over 8 years ago

This is a major update for the Watson Developer Cloud iOS SDK, with 5 main additions:

  • AlchemyData News service
  • Conversation (Experimental) service
  • Document Conversion service
  • Relationship Extraction service
  • Text to Speech customization endpoints
  • Tradeoff Analytics service

This release also includes a number of minor changes and bug fixes:

  • All Services: Add serviceURL as an argument to initializer.
  • All Services: Add custom HTTP user agent header.
  • Alchemy Language: Transition to RestKit architecture.
  • Alchemy Vision: Use NSData instead of NSURL for image parameters.
  • Alchemy Vision: Fix bug with celebrity identity.
  • Alchemy Vision: Fix bug with HTML endpoints.
  • Alchemy Vision: Improve error handling.
  • Alchemy Vision: Improve tests.
  • Dialog: Add missing documentation.
  • Language Translation: Add missing documentation.
  • Language Translation: Rename to Language Translator.
  • Natural Language Classifier: Add missing documentation.
  • Speech to Text: Add missing documentation.
  • Text to Speech: Change AudioFormat.OGG case to AudioFormat.Opus
  • Text to Speech: Add missing documentation.
  • Tone Analyzer: Improve tests.
  • Readme: Fix bugs.
  • Quickstart Guide: Fix bugs.
  • Swift Package Manager: Add Package.swift file.
  • Carthage: Remove ObjectMapper dependency.
  • Carthage: Update Cartfile.resolved
swift-sdk - v0.3.0

Published by vherrin over 8 years ago

2016-05-21

The iOS-sdk version 0.3.0 has many major changes with this new release. The team worked diligently at removing many of the third party dependencies and fully embracing AlamoFire by implementing the rest-kit code.

Major updates

  • Added IBM Watson Tone Analyzer
  • Added IBM Watson Visual Recognition
  • Updated all of the code to use the new Rest-kit and removed NetworkUtils and WatsonGateway. We still have one service to convert, Alchemy Language, but we anticipate that change coming in the next minor release.
  • Removed many dependencies and reducing the total number to three. Alamofire, Freddy, and Starscream.
  • You will notice an update to the targets available and now the developer can pick and choose the services to include.

The process of migrating a service to Rest-kit required a large re-implementation of the service. As part of the reimplementation, we additionally gain:

  • More consistent coding patterns between services.
  • Better documentation.
  • Better tests.
  • Reorganized project structure to support Swift Package Manager.

In addition, the Rest-kit branch has a number of architectural changes that should make the SDK easier to maintain and easier to consume.

  • Uses Alamofire directly instead of NetworkUtils or WatsonGateway.
  • Uses Freddy instead of ObjectMapper, allowing us to better express the models.
  • Uses separate failure and success closures to avoid unwrapping optionals and enable consistent error handling. We debated as a team as to the correct approach and concluded this was the best approach for the granularity. One benefit is the user does not have to unwrap a response. It also allows for a more unified error return.
swift-sdk - v0.2.5

Published by glennrfisher over 8 years ago

This release includes several minor bug fixes and documentation improvements.

  • Removes the copy frameworks build phase to resolve an app store submission bug.
  • Adds a user-agent HTTP header to track version usage.
  • Updates README.md to reflect changes made to the API signatures.
  • Reorganizes Quickstart.md to prevent users from skipping app transport security configuration.
  • Fixes continuous integration with Travis.
swift-sdk - v0.2.4

Published by glennrfisher over 8 years ago

This release fixes build errors caused by changes made to the most recent version of Starscream. In particular, several function signatures were modified, causing the inheritance of SpeechToTextWebSocket from WebSocket to break. These signatures have been updated so that the SDK successfully builds.

In addition, we have removed non-existing library search paths that were producing build warnings.

Related PRs: #223, #224

swift-sdk - v0.2.3

Published by glennrfisher over 8 years ago

This release fixes errors that would occur when building the Watson Developer Cloud iOS SDK with Xcode 7.3. In particular, it:

  • Removes the libogg and libopus libraries, which were causing build failures.
  • Modifies the Text to Speech implementation to use WAV instead of OPUS.
  • Repairs the corrupt WAV header returned by the Text to Speech service.
  • Updates dependencies to Xcode 7.3 and Swift 2.2 compatible releases.
  • Disables Xcode code coverage that caused errors with Xcode 7.3.
  • Updates the readme with information about using Xcode 7.3.

Please note that all binaries must be re-built for use with Xcode 7.3 and Swift 2.2. To do so, please run: carthage update --platform iOS --no-use-binaries

swift-sdk - v0.2.2

Published by glennrfisher over 8 years ago

  • Removes logging and the XCGLogger dependency.
swift-sdk - v0.2.1

Published by glennrfisher over 8 years ago

  • Removes @testable annotation from all tests
  • Fixes a bug where some AlchemyLanguage and Dialog models were internal instead of public.
swift-sdk - v0.2.0

Published by glennrfisher over 8 years ago

  • Adds a new implementation of Speech to Text with support for streaming audio
  • Adds an example application to test and demonstrate the new Speech to Text implementation
  • Adds a simpler translate function that accepts a String argument instead of [String]
  • Updates comments and tests to make the Dialog application's time zone explicit
  • Updates Starscream from 1.0.2 to 1.1.1
  • Updates AlamofireObjectMapper from 2.1.0 to 2.1.3
  • Standardizes the spacing for all copyright headers
  • Updates .gitignore file
swift-sdk - v0.1.2

Published by glennrfisher over 8 years ago

  • Fixes a bug that caused an HTTP 400 error when executing TextToSpeech.synthesize(text:voice:completionHandler:)
swift-sdk - v0.1.1

Published by vherrin almost 9 years ago

  • Issue deleting a model just after creating it in Language Translation Test db177fb
  • Enable code coverage in xcode project c0ec43c
  • Update test setup functions to only instantiate the service if it is nil c06033d
  • WatsonGateway should always refresh a nil token fec0f6c
  • Update type of all completion handlers 36e16a0
  • Get Travis CI working with our test cases 461ffde
  • Update readme with specific Carthage info c92c8a6
  • Discover why carthage pull and build fails occasionally
  • Enable Travis builds and add badge to README
  • Fix the race condition with Dialog tests d15b5d5
  • Integrate CodeCov for test coverage reporting c4c6bc9
swift-sdk - v0.1.0

Published by vherrin almost 9 years ago

This initial release contains code that will communicate with 8 different Watson services

  • Alchemy Language
  • Alchemy Vision
  • Dialog
  • Language Translation
  • Natural Language Classifier
  • Personality Insights
  • Speech to Text
  • Text to Speech