Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e942c44

Browse files
committed
v 1.1.0
1、优化收藏图片删除与添加 2、增加空内容视图 3、新增设置默认表情视图 4、适配全面屏 5、优化其他细节代码
1 parent 2e8877a commit e942c44

11 files changed

Lines changed: 658 additions & 493 deletions

File tree

.DS_Store

0 Bytes
Binary file not shown.

SHEmotionKeyboard.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "SHEmotionKeyboard"
3-
s.version = "1.0.3"
3+
s.version = "1.1.0"
44
s.summary = "表情键盘"
55
s.license = "MIT"
66
s.authors = { "CSH" => "[email protected]" }
@@ -10,5 +10,5 @@ Pod::Spec.new do |s|
1010
s.source_files = "SHEmotionKeyboard/*.{h,m}"
1111
s.resource = "SHEmotionKeyboard/SHEmotionKeyboard.bundle"
1212
s.requires_arc = true
13-
s.dependency "UIView+SHExtension","0.0.1"
13+
s.dependency "SHExtension/UIView"
1414
end

SHEmotionKeyboard/SHEmotionKeyboard.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,21 @@
1111

1212
#define kScreenW [UIScreen mainScreen].bounds.size.width
1313
#define kScreenH [UIScreen mainScreen].bounds.size.height
14+
15+
#define SafeBottomH (([UIApplication sharedApplication].statusBarFrame.size.height != 20) ? 34 : 0)
1416
//键盘高度
1517
#define kKeyboardH 216
18+
//下方工具栏按钮宽度
19+
#define kToolBtnW 80
20+
//页面控制高度
21+
#define kPageControlH 30
1622

1723
@interface SHEmotionKeyboard : UIView
1824

1925
//下方按钮集合(SHEmoticonType)
2026
@property (nonatomic, strong) NSArray *toolBarArr;
27+
//位置(默认是第一个,使用前设置在reloadView之后)
28+
@property (nonatomic, assign) SHEmoticonType index;
2129
//点击回调
2230
@property (nonatomic, copy) void (^clickEmotionBlock)(SHEmotionModel *model);
2331
//发送回调

0 commit comments

Comments
 (0)