0 Unstar Star 0 Fork 32

数学家 / MessageDisplayKitMIT

forked from 曾宪华 / MessageDisplayKit 
Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
用于显示iPhone和iPad的消息页面,你可以发送文本、声音、图片、视频等消息。模仿微信App。 spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

image

MessageDisplayKit

用于显示iPhone和iPad的消息页面,你可以发送文本、声音、图片、视频、gif表情等消息。模仿微信App。
A messages UI for iPhone and iPad. You can send texts, voice messages, images, videos, and emotions, etc. It's similar to the Wechat app.

代码都有注释,如果看完注释还是不懂的话,那你只能在githu开issue,点击这里移步新建一个issue,写上你不明白的地方,我会在github给予帮助。

It's ok if you don't understand how the code works. Most code has comments, which I believe will help you a lot. Feel free to [open an issue] (https://github.com/xhzengAIB/MessageDisplayKit/issues?state=open) if you have any questions. I will do my best to answer them.

组件要求 Requirements

  • iOS 6.0+
  • ARC

Podfile

CocosPods is the recommended method to install MessageDisplayKit, just add the following line to Podfile

pod 'MessageDisplayKit', '~> 0.1.5'

and run pod install, then you're all done!

特性 Features

  • 1、高度可定制。
    Highly customizable.
  • 2、任意消息的大小。
    Arbitrary message sizes.
  • 3、复制&粘贴消息。
    Able to copy & paste messages.
  • 4、数据检查器(确认电话号码、链接、日期等)。
    Data detectors (recognizes phone numbers, links, dates, etc.).
  • 5、时间戳。
    Timestamps.
  • 6、头像。
    Avatars.
  • 7、向下滑动隐藏键盘。
    Swipe down to hide keyboard.
  • 8、动态调整输入文本视图类型。
    Dynamically resize input text view as you type.
  • 9、自动启用/禁用发送按钮(如果文本视图是空的或不是)。
    Automatically enable/disable send button according to the content of text view.
  • 10、发送/接收声音效果。
    Send/Receive sound effects.
  • 11、发送语音。
    Send voice messages.
  • 12、发送图片。
    Send photos.
  • 13、发送视频。
    Send videos.
  • 14、发送地理位置。
    Send geolocations.
  • 15、发送第三方gif表情。
    Send third party gif message.
  • 16、通用于iPhone和iPad。
    Support both iPhone and iPad.

License

中文: MessageDisplayKit 是在MIT协议下使用的,可以在LICENSE文件里面找到相关的使用协议信息。

English: MessageDisplayKit is available under the MIT license, see the LICENSE file for more information.

须知 Notes

如果您在您的项目中使用该开源组件,请给我们发电子邮件告诉我们您的应用程序的名称,谢谢!主要是为了互推的效果,如果您的app火了,请给予少许的回报,如果您的App不火,或许能通过这个开源库了解到您的App!

If you use this open source components in your project, please Email us to notify us the name of your application(s). Thanks!

What app use this open source

这里会列出所有使用该开源库的App列表。

Credits

Thanks to jessesquires who created JSMessagesViewController on which my work is based.

Comments ( 0 )

Sign in for post a comment

1
https://gitee.com/von_neumann/MessageDisplayKit.git
git@gitee.com:von_neumann/MessageDisplayKit.git
von_neumann
MessageDisplayKit
MessageDisplayKit
master

Search