Giter Club home page Giter Club logo

cloudimtest's Introduction

#IM


  • 会话
  • 联系人
  • 客服
  • 关于

##2.实现私聊(文字图片对讲,发送位置)

用户体系流向

App Server(用户信息存储) Rongyun(好友关系,群主关系)

设置当前用户信息

RCIMClient(单例)

私聊UI

RCConversationUIViewController

##3.私聊对象信息

  • targetId
  • userName
  • conversationType
  • 导航标题title
  • 用户注册的UI布局和约束(UIStackView)
    • 自定义segue(给identifier起个名字) 从页面进入口拉一个segue
    • UITableView来写登录界面,切割storyboard,UIStackView
    • 一次性定位所有指定的控件 - UIKitConvenience使用这个第三方框架的UIView+ViewRecursion文件的runBlockOnAllSubviews方法 - IBOutlet Collection (推荐使用)
    • HUD组件
      • swiftNotice引用这个组件的方法 self.errorNotice("必填项目为空")
    • 炫酷动画文本框
    • 输入校验证
      • 长度,范围,合法性 常规操作 NSPredicate(谓词) 正则表达式
    • 第三方验证库
    • 云存储,可以离线存储(本地数据存在服务器上面,优点:不用搭建服务器使用接口,加速访问)

Note: 可以使用pod update --verbose --no-repo-update (不读取cocoapods库列表,加快更新速度)

融云中的token:{"code":200,"userId":"youyinan1","token":"bTkovYNtiHEOBc828EN2Lt69amEBkQ8PAKgSfjyNLVVG1Kc310tHOsAJx0GUQImaYOTWmm0r3EylBUtdAyBs54sGVabxr1S8"}

用户信息提供者

RCIMUserInfoDataSource

截图:

![图片1](/Resouce/屏幕快照 2015-07-28 14.46.33.png) ![图片1](/Resouce/屏幕快照 2015-07-29 11.14.09.png) ![图片1](/Resouce/屏幕快照 2015-07-28 14.45.07.png) ![图片1](/Resouce/屏幕快照 2015-07-29 11.19.30.png) ![图片2](/Resouce/屏幕快照 2015-07-29 11.14.24.png) ![图片2](/Resouce/屏幕快照 2015-07-29 12.21.01.png) ![图片2](/Resouce/屏幕快照 2015-08-18 19.40.32.png) ![图片2](/Resouce/屏幕快照 2015-08-18 19.40.52.png) ![后台1](/Resouce/屏幕快照 2015-08-24 10.30.11.png)


1.登录界面:背景图片可以滚动 2.会话界面: 3.具体的对话: 4.点击右上角加➕出现动画 5.对输入框输入的信息进行校验 6.在LeanCloud服务器上面存储的用户信息

cloudimtest's People

Contributors

yyn835314557 avatar

Watchers

 avatar  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.