CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

NuguInterface 0.7.1

NuguInterface 0.7.1

Maintained by sktelecom.



  • By
  • SK Telecom Co., Ltd.

nugu-ios

Build Status Platform CocoaPods compatible Carthage compatible License

Requirements

  • iOS 10.0+
  • Xcode 11.0+
  • Swift 5.1+

Components

NUGU SDK for iOS is composed of following Libraries

  • NuguInterface - Library which includes protocols, enums, structs of public components of NUGU SDK
  • NuguCore - Main library of NUGU SDK, which has implementation of core functions such as network management, data transmission, media control, etc
  • NuguClientKit - Library for initializing essential components and inject dependency between components to use NUGU SDK
  • NuguLoginKit - Library for user authentication with OAuth2.0
  • NuguUIKit - Library for user interface components

Sample Application

Run

We have sample application in nugu-ios.xcodeproj.
To use it download or clone this repository, and run carthage update --platform iOS to install required frameworks.
Open nugu-ios.xcodeproj and you can run it through SampleApp scheme.

See also

Unfortunately, we still have some step to use sample application. For more information, See the How to use sample application.

Installation

CocoaPods

Each components of NUGU SDK for iOS is available through CocoaPods.
To install it for easy use, simply add the following line to your Podfile:

pod 'NuguClientKit'
pod 'NuguLoginKit'
pod 'NuguUIKit'

Carthage

NUGU SDK for iOS is available through Carthage.
To install it, add the following line to your Cartfile:

github "nugu-developers/nugu-ios"

Then run carthage update --platform iOS.
If your application is first time adopting carthage, you'll need to set additional steps.
For more information, See the Carthage for Application

Usage

Get Started

Using NUGU SDK for iOS is easy after some setup. Here are some basic examples for some capability agent.

Initialize & Connect

Before using NUGU SDK for iOS, connect to nugu when using NuguClientKit. like this:

let client = NuguClient.Builder().build()

client.accessToken = "{access-token}"
client.networkManager.connect()

Using ASRAgent (Automatic Speech Recognition agent)

client.asrAgent.startRecognition()

Using TTSAgent(Text to Speech agent)

client.ttsAgent.requestTTS("Hello world")

See also

For more information, See the How to use NUGU SDK for iOS

License

The contents of this repository is licensed under the Apache License, version 2.0.

See Also

Please visit Nugu Developers Guide page