This commit is contained in:
Andrey Blinov
2019-11-20 01:13:59 +07:00
parent e78c12a6d3
commit a5f2dcfcd5
54 changed files with 2065 additions and 80 deletions

View File

@@ -0,0 +1,51 @@
//
// DemoController.swift
// OnlineChatSdk_Example
//
// Created by Andrew Blinov on 16.11.2019.
// Copyright © 2019 CocoaPods. All rights reserved.
//
import Foundation
import WebKit
import OnlineChatSdk
class DemoController: ChatController {
override func viewDidLoad() {
super.viewDidLoad()
load("593adecd804fc4e32e7e865d659f2356", "me-talk.ru")
}
override func onClientId(_ clientId: String) {
}
override func onSendRate(_ data: NSDictionary) {
}
override func onContactsUpdated(_ data: NSDictionary) {
}
override func onClientSendMessage(_ data: NSDictionary) {
}
override func onOperatorSendMessage(_ data: NSDictionary) {
super.onOperatorSendMessage(data)
}
override func onClientMakeSubscribe(_ data: NSDictionary) {
}
override func onEvent(_ name: String, _ data: NSDictionary) {
}
override func getContactsCallback(_ data: NSDictionary) {
}
}