New file |
| | |
| | | /************************************************************ |
| | | * * Hyphenate CONFIDENTIAL |
| | | * __________________ |
| | | * Copyright (C) 2016 Hyphenate Inc. All rights reserved. |
| | | * |
| | | * NOTICE: All information contained herein is, and remains |
| | | * the property of Hyphenate Inc. |
| | | * Dissemination of this information or reproduction of this material |
| | | * is strictly forbidden unless prior written permission is obtained |
| | | * from Hyphenate Inc. |
| | | */ |
| | | |
| | | |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | @class EaseEmotion; |
| | | @protocol EaseFacialViewDelegate |
| | | |
| | | @optional |
| | | |
| | | /*! |
| | | @method |
| | | @brief 选中默认表情 |
| | | @discussion |
| | | @param str 选中的默认表情 |
| | | @result |
| | | */ |
| | | -(void)selectedFacialView:(NSString*)str; |
| | | |
| | | /*! |
| | | @method |
| | | @brief 删除默认表情 |
| | | @discussion |
| | | @result |
| | | */ |
| | | -(void)deleteSelected:(NSString *)str; |
| | | |
| | | /*! |
| | | @method |
| | | @brief 点击表情键盘的发送回调 |
| | | @discussion |
| | | @result |
| | | */ |
| | | -(void)sendFace; |
| | | |
| | | /*! |
| | | @method |
| | | @brief 选择自定义表情,直接发送 |
| | | @discussion |
| | | @param emotion 被选中的自定义表情 |
| | | @result |
| | | */ |
| | | -(void)sendFace:(EaseEmotion *)emotion; |
| | | |
| | | @end |
| | | |
| | | @class EaseEmotionManager; |
| | | @interface EaseFacialView : UIView |
| | | { |
| | | NSMutableArray *_faces; |
| | | } |
| | | |
| | | @property(nonatomic, weak) id<EaseFacialViewDelegate> delegate; |
| | | |
| | | @property(strong, nonatomic, readonly) NSArray *faces; |
| | | |
| | | -(void)loadFacialView:(NSArray*)emotionManagers size:(CGSize)size; |
| | | |
| | | -(void)loadFacialViewWithPage:(NSInteger)page; |
| | | |
| | | //-(void)loadFacialView:(int)page size:(CGSize)size; |
| | | |
| | | @end |