Files
OnlineChatSdk-SwiftPM/Example/OnlineChatSdk/ViewController.swift

28 lines
766 B
Swift
Raw Normal View History

2019-11-15 23:21:03 +07:00
//
// ViewController.swift
// OnlineChatSdk
//
// Created by bekannax on 11/15/2019.
// Copyright (c) 2019 bekannax. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
}
2019-11-20 01:13:59 +07:00
@IBAction func openChat(_ sender: Any) {
let chatController = storyboard?.instantiateViewController(withIdentifier: "DemoChatController") as! DemoController
navigationController?.pushViewController(chatController, animated: true)
}
2019-11-15 23:21:03 +07:00
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
}