Skip to content

Commit

Permalink
Merge pull request #73 from AgoraIO-Community/docc-update
Browse files Browse the repository at this point in the history
DocC Update on SPI
  • Loading branch information
maxxfrazer authored Jun 9, 2022
2 parents 39a6035 + 7d3df66 commit ad127b6
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .spi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version: 1
builder:
configs:
- platform: ios
documentation_targets: [AgoraUIKit]
2 changes: 1 addition & 1 deletion AgoraRtmControl_iOS.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |s|
s.name = 'AgoraRtmControl_iOS'
s.module_name = 'AgoraRtmControl'
s.version = ENV['LIB_VERSION'] || '1.8.2'
s.version = ENV['LIB_VERSION'] || '1.8.3'
s.summary = 'Agora Real-time Messaging Wrapper.'

s.description = <<-DESC
Expand Down
2 changes: 1 addition & 1 deletion AgoraRtmControl_macOS.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |s|
s.name = 'AgoraRtmControl_macOS'
s.module_name = 'AgoraRtmControl'
s.version = ENV['LIB_VERSION'] || '1.8.2'
s.version = ENV['LIB_VERSION'] || '1.8.3'
s.summary = 'Agora Real-time Messaging Wrapper.'

s.description = <<-DESC
Expand Down
2 changes: 1 addition & 1 deletion AgoraUIKit_iOS.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |s|
s.name = 'AgoraUIKit_iOS'
s.module_name = 'AgoraUIKit'
s.version = ENV['LIB_VERSION'] || '1.8.2'
s.version = ENV['LIB_VERSION'] || '1.8.3'
s.summary = 'Agora video session UIKit template.'

s.description = <<-DESC
Expand Down
2 changes: 1 addition & 1 deletion AgoraUIKit_macOS.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |s|
s.name = 'AgoraUIKit_macOS'
s.module_name = 'AgoraUIKit'
s.version = ENV['LIB_VERSION'] || '1.8.2'
s.version = ENV['LIB_VERSION'] || '1.8.3'
s.summary = 'Agora video session AppKit template.'

s.description = <<-DESC
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.4
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand Down
2 changes: 1 addition & 1 deletion Sources/Agora-UIKit/AgoraUIKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public struct AgoraUIKit: Codable {
/// Framework type of UIKit. "native", "flutter", "reactnative"
fileprivate(set) var framework: String
/// Version of UIKit being used
static let version = "1.8.2"
static let version = "1.8.3"
/// Framework type of UIKit. "native", "flutter", "reactnative"
static let framework = "native"
#if os(iOS)
Expand Down
25 changes: 25 additions & 0 deletions Sources/Agora-UIKit/Documentation.docc/AgoraUIKit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# ``AgoraUIKit``

Integrate Agora Video Calling or Live Video Streaming to your iOS or macOS app with just a few lines of code.

## Overview

Agora UIKit is a low-code solution to adding video calls and live streams into your application.

Get started with this package by creating an ``AgoraVideoViewer`` and joining a channel:

```swift
import AgoraRtcKit
import AgoraUIKit

let agoraView = AgoraVideoViewer(
connectionData: AgoraConnectionData(
appId: "<#my-app-id#>",
rtcToken: "<#my-channel-token#>",
rtmToken: "<#my-channel-rtm-token#>"
), delegate: self
)

agoraView.join(channel: "test", as: .broadcaster)

```
7 changes: 7 additions & 0 deletions Sources/AgoraRtmControl/Documentation.docc/AgoraRtmControl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# ``AgoraRtmControl``

AgoraRtmControl is a light wrapper around the Agora RTM.

## Overview

This wrapper keeps track of active channels and other users in the same channel as you.

0 comments on commit ad127b6

Please sign in to comment.