文章来源:淘论文网   发布者: 毕业设计   浏览量: 81



还可以点击去查询以下关键词:
[fk-ios-]    [毕业]    [chatheads]    [fk-ios-毕业chatheads]   

项目介绍:

FCChatHeads

https://github.com/rajatgupta26/fk-ios-chatheads

Library to use chat heads within your iOS app with complete physics and animations which drive multi user chat behaviour to support collapsed/stacked or expanded states.

如gif图所示,论文,本示例demo可以在iOS应用程序中,开题报告,构造具有完整的物理和动画,驱动多会员聊天行为以支持折叠/堆叠或展开状态的聊天头像控件。

Demo

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

FCChatHeads is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'FCChatHeads'Usage

Include the following import in your file

#import <FCChatHeads/FCChatHeads.h>To present chat head with image[ChatHeadsController presentChatHeadWithImage:<UIImage instance> chatID:<Unique identifier>];To present chat head with view[ChatHeadsController presentChatHeadWithView:<UIView instance> chatID:<Unique identifier>];To set badge count on chat head[ChatHeadsController setUnreadCount:<Unread count> forChatHeadWithChatID:<Unique identifier>];To show view in popover on chat head selection

Set datasource for ChatHeadsController

ChatHeadsController.datasource = <datasource>;

Return view from callback

- (UIView *)chatHeadsController:(FCChatHeadsController *)chatHeadsController viewForPopoverForChatHeadWithChatID:(NSString *)chatID { UIView *view = <Create view for presentation>; return view; }

Refer FCChatHeadsController.h for more information on how to present or dismiss or hide chatheads.
For information on callbacks refer FCChatHeadsControllerDatasource and FCChatHeadsControllerDelegate protocols in FCChatHeadsController.h

Also checkout code in FCViewController.m

Author

Rajat Gupta, rajat.g@flipkart.com


这里还有:


还可以点击去查询:
[fk-ios-]    [毕业]    [chatheads]    [fk-ios-毕业chatheads]   

请扫码加微信 微信号:sj52abcd


下载地址: http://www.taolw.com/down/8728.docx
  • 上一篇:仅适用于修改iOS微信朋友圈,空间照片的位置,经纬度可...
  • 下一篇:TTSegmen毕业设计tedControl