Swiftpack.co -  nugu-developers/nugu-ios as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
nugu-developers/nugu-ios
NUGU SDK for iOS
.package(url: "https://github.com/nugu-developers/nugu-ios.git", from: "1.5.1")

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 --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: 16
Last commit: Yesterday

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

[hotfix] 0.30.3
22 weeks ago

Released on 2021-04-13

SDK

Fixed

  • Add top margin to display web view presenter (#814)

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