Coder Social home page Coder Social logo

wellswitch / imsdk-ios Goto Github PK

View Code? Open in Web Editor NEW

This project forked from startalkim/imsdk-ios

0.0 0.0 0.0 96.59 MB

Startalk is a high-performace IM software for business. It has been stably used in Qunar for more than 4 years, providing services as well as consultation after and before sales to business. Startalk is applicable to multiple scenarios, such as office automation, business services, and first-party SDKs for IM scenes

Home Page: https://im.qunar.com

License: MIT License

Objective-C 83.59% HTML 12.25% Ruby 3.59% Shell 0.58%

imsdk-ios's Introduction

Startalk, The Best open sourced instant messenger software in the world!

Public Cloud(Startalk App)

Based on Startalk server and client-side, users can build their own domain, Sign up an account, create new domains, add users, download client app, and configure navigation for domain, After the 5 steps above, you own strong IM abilities.

Download client app Download

  • Android

Startalk on Android

  • iOS

Startalk on iOS

Configure navigation for client app Configure navigation

Private Cloud(Startalk SDK)

Private Cloud is a way for decentralized deployment. Customers or enterprises would deploy the back end code on their own servers, embedding SDK into their own app. Every enterprise is an independent node; every node works independently, and the data would only be saved in the node.

Please see the guide of embedding Android SDK and the configuration below.

Requirements

  • iOS 9.0 or later
  • Xcode 10.0 or later

Getting Started

  • Read this Readme doc

Communication

  • If you'd like to ask a general question, use Stack Overflow.
  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.

Example Run

1. pod install
2. open IMSDK-iOS.xcworkspace use Xcode10+

How To Use

  • Objective-C
#import "QIMSDK.h"
...
[QIMSDKUIHelper sharedInstanceWithRootNav:rootNav rootVc:rootVc];
...
BOOL success = [[QIMKit sharedInstance] qimNav_updateNavigationConfigWithDomain:@"qim.com" WithUserName:@"san.zhang"];
if (success = YES) {
  [[QIMKit sharedInstance] loginWithUserName:userName WithPassWord:userPwd];
} else {
  
}
...
UIView *sessionView = [[QIMSDKUIHelper sharedInstance] getQIMSessionListViewWithBaseFrame:self.view.bounds];
[self.view addSubview:sessionView];

Installation

There are four ways to use QIMSDK in your project:

  • using CocoaPods
  • manual install (build frameworks or embed Xcode Project)

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects. See the Get Started section for more details.

Podfile

source 'https://github.com/qunarcorp/libqimkit-ios-cook.git'
source '[email protected]:CocoaPods/Specs.git'
platform :ios, '9.0'
pod 'QIMUIKit', '~> 4.0'

Manual Installation Guide

See more on Manual install Guide

Import headers in your source files

In the source files where you need to use the library, import the umbrella header file:

#import "QIMSDK.h"

Build Project

At this point your workspace should build without error. If you are having problem, post to the Issue and the community can help you solve it.

Feedback

imsdk-ios's People

Contributors

lidalu avatar fantasywxx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.