Skip to content

Commit 65b274f

Browse files
Jack_iMacJack_iMac
authored andcommitted
公开隐藏输入面板的方法和输入状态属性
1 parent f9105a7 commit 65b274f

2 files changed

Lines changed: 11 additions & 9 deletions

File tree

MessageDisplayKit/Classes/Controllers/XHMessageTableViewController/XHMessageTableViewController.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@
168168

169169
@property (nonatomic, weak) id <XHMessageTableViewControllerDataSource> dataSource;
170170

171+
@property (nonatomic, assign, readonly) XHInputViewType textViewInputViewType;
172+
171173
/**
172174
* 数据源,显示多少消息
173175
*/
@@ -303,4 +305,12 @@
303305
atScrollPosition:(UITableViewScrollPosition)position
304306
animated:(BOOL)animated;
305307

308+
#pragma mark - Other Menu View Frame Helper Mehtod
309+
/**
310+
* 根据显示或隐藏的需求对所有第三方Menu进行管理
311+
*
312+
* @param hide 需求条件
313+
*/
314+
- (void)layoutOtherMenuViewHiden:(BOOL)hide;
315+
306316
@end

MessageDisplayKit/Classes/Controllers/XHMessageTableViewController/XHMessageTableViewController.m

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ @interface XHMessageTableViewController ()
2626
*/
2727
@property (nonatomic, assign) CGFloat keyboardViewHeight;
2828

29-
@property (nonatomic, assign) XHInputViewType textViewInputViewType;
29+
@property (nonatomic, assign, readwrite) XHInputViewType textViewInputViewType;
3030

3131
@property (nonatomic, weak, readwrite) XHMessageTableView *messageTableView;
3232
@property (nonatomic, weak, readwrite) XHMessageInputView *messageInputView;
@@ -187,14 +187,6 @@ - (void)didSendEmotionMessageWithEmotionPath:(NSString *)emotionPath;
187187
*/
188188
- (void)didSendGeolocationsMessageWithGeolocaltions:(NSString *)geolcations location:(CLLocation *)location;
189189

190-
#pragma mark - Other Menu View Frame Helper Mehtod
191-
/**
192-
* 根据显示或隐藏的需求对所有第三方Menu进行管理
193-
*
194-
* @param hide 需求条件
195-
*/
196-
- (void)layoutOtherMenuViewHiden:(BOOL)hide;
197-
198190
#pragma mark - Voice Recording Helper Method
199191
/**
200192
* 开始录音

0 commit comments

Comments
 (0)