// // XHEmotionSectionBar.h // MessageDisplayExample // // Created by HUAJIE-1 on 14-5-3. // Copyright (c) 2014年 嗨,我是曾宪华(@xhzengAIB),曾加入YY Inc.担任高级移动开发工程师,拍立秀App联合创始人,热衷于简洁、而富有理性的事物 QQ:543413507 主页:http://zengxianhua.com All rights reserved. // #import #import "XHEmotionManager.h" @protocol XHEmotionSectionBarDelegate /** * 点击某一类gif表情的回调方法 * * @param emotionManager 被点击的管理表情Model对象 * @param section 被点击的位置 */ - (void)didSelecteEmotionManager:(XHEmotionManager *)emotionManager atSection:(NSInteger)section; @end @interface XHEmotionSectionBar : UIView @property (nonatomic, weak) id delegate; /** * 数据源 */ @property (nonatomic, strong) NSArray *emotionManagers; - (instancetype)initWithFrame:(CGRect)frame showEmotionStoreButton:(BOOL)isShowEmotionStoreButtoned; /** * 根据数据源刷新UI布局和数据 */ - (void)reloadData; @end