TCFaceView.h 658 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // TCFaceView.h
  3. // QimoQM
  4. //
  5. // Created by TuChuan on 15/5/13.
  6. // Copyright (c) 2015年 七陌科技. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @protocol TCFaceViewDelegate <NSObject>
  10. @optional
  11. /*
  12. * 点击表情代理
  13. * @param faceName 表情对应的名称
  14. * @param del 是否点击删除
  15. *
  16. */
  17. - (void)didSelecteFace:(NSString *)faceName andIsSelecteDelete:(BOOL)del;
  18. @end
  19. @interface TCFaceView : UIView
  20. @property (nonatomic,weak) id<TCFaceViewDelegate>delegate;
  21. /*
  22. * 初始化表情页面
  23. * @param frame 大小
  24. * @param indexPath 创建第几个
  25. *
  26. */
  27. - (id)initWithFrame:(CGRect)frame forIndexPath:(int)index;
  28. @end