Swiftpack.co - nugu-developers/nugu-ios as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by nugu-developers.
nugu-developers/nugu-ios 1.10.0
NUGU SDK for iOS
⭐️ 21
🕓 3 days ago
iOS watchOS
.package(url: "https://github.com/nugu-developers/nugu-ios.git", from: "1.10.0")

nugu-ios

Build Status Platform CocoaPods compatible Carthage compatible SwiftPackageManager compatible License

Requirements

  • iOS 12.0+ (v1.3.0 or more) iOS 10.0+ (less than v1.3.0)
  • Xcode 11.0+
  • Swift 5.1+

Components

NUGU SDK for iOS is composed of following Libraries

  • NuguCore - Main Framework of NUGU SDK, which has implementation of core functions such as network management, data transmission, media control, etc
  • NuguAgents - The Framework which includes built-in capability-agents.
  • NuguClientKit - The Framework for initializing essential components and inject dependency between components to use NUGU SDK
  • NuguLoginKit - The Framework for user authentication with OAuth2.0
  • NuguUIKit - The Framework for user interface components
  • NuguServiceKit - The Framework provides customized webview for NUGU service

Sample Application

weather music recipe

Run

We have sample application in nugu-ios.xcodeproj.
To use it download or clone this repository, and run carthage update --use-xcframeworks --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'

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 & Enable

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

class SomeClass: NuguClientDelegate {
    let client = NuguClient(delegate: self)
    ...
}

Using ASRAgent (Automatic Speech Recognition Agent)

client.asrAgent.startRecognition(initiator: .user)

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

GitHub

link
Stars: 21
Last commit: 3 days ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

1 year ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics