EmojiObj.h 879 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // EmojiObj.h
  3. // BuguLive
  4. //
  5. // Created by 朱庆彬 on 2017/8/15.
  6. // Copyright © 2017年 xfg. All rights reserved.
  7. //
  8. #import "ChatEmojiIcons.h"
  9. #import <UIKit/UIKit.h>
  10. #define EmojiIMG_Width_Hight 28.0f //表情图片宽高
  11. #define EmojiView_Border 14.0f //边框
  12. #define EmojiIMG_Space 18.0f //表情间距
  13. #define EmojiIMG_Space_UP 11.0f //表情上下间距
  14. #define EmojiIMG_Lines 4 //表情行数
  15. @interface EmojiObj : NSObject
  16. @property (nonatomic, copy) NSString *emojiName; //表情名称
  17. @property (nonatomic, copy) NSString *emojiImgName; //表情图片名称
  18. @property (nonatomic, copy) NSString *emojiString; //表情码文
  19. + (NSInteger)countInOneLine; //一行多少图片
  20. + (NSInteger)onePageCount;
  21. + (NSInteger)pageCountIsSupport; //支持几页
  22. + (NSArray *)emojiObjsWithPage:(NSInteger)page;
  23. + (EmojiObj *)del_Obj;
  24. @end