Skip to content

Commit

Permalink
fix the bug for setter method
Browse files Browse the repository at this point in the history
  • Loading branch information
xhzengAIB committed Sep 24, 2015
1 parent b2979ca commit 465f5e3
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ - (void)viewDidLoad
self.title = NSLocalizedStringFromTable(@"Chat", @"MessageDisplayKitString", @"聊天");

// Custom UI
// self.activityIndicatorViewStyle = UIActivityIndicatorViewStyleWhite;
// self.loadMoreActivityIndicatorViewStyle = UIActivityIndicatorViewStyleWhite;
// [self setBackgroundColor:[UIColor clearColor]];
// [self setBackgroundImage:[UIImage imageNamed:@"TableViewBackgroundImage"]];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@

@property (nonatomic, assign, readonly) XHInputViewType textViewInputViewType;

@property (nonatomic, assign) UIActivityIndicatorViewStyle loadMoreActivityIndicatorViewStyle;

/**
* 数据源,显示多少消息
*/
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
</data>
<key>Headers/XHMessageTableViewController.h</key>
<data>
yep5OSSTokL2xwepv6S19f66OzM=
WZ1RrJ3c6ZmAMB4AfMJsJQeIHi8=
</data>
<key>Headers/XHMessageTextView.h</key>
<data>
Expand Down Expand Up @@ -791,7 +791,7 @@
</data>
<key>Headers/XHMessageTableViewController.h</key>
<data>
yep5OSSTokL2xwepv6S19f66OzM=
WZ1RrJ3c6ZmAMB4AfMJsJQeIHi8=
</data>
<key>Headers/XHMessageTextView.h</key>
<data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@
*/
- (void)menuDidSelectedAtBubbleMessageMenuSelecteType:(XHBubbleMessageMenuSelecteType)bubbleMessageMenuSelecteType;

- (void)didSelectedLink;

@end

@interface XHMessageTableViewCell : XHBaseTableViewCell
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@

@property (nonatomic, assign, readonly) XHInputViewType textViewInputViewType;

@property (nonatomic, assign) UIActivityIndicatorViewStyle loadMoreActivityIndicatorViewStyle;

/**
* 数据源,显示多少消息
*/
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
</data>
<key>Headers/XHMessageTableViewController.h</key>
<data>
yep5OSSTokL2xwepv6S19f66OzM=
WZ1RrJ3c6ZmAMB4AfMJsJQeIHi8=
</data>
<key>Headers/XHMessageTextView.h</key>
<data>
Expand Down Expand Up @@ -791,7 +791,7 @@
</data>
<key>Headers/XHMessageTableViewController.h</key>
<data>
yep5OSSTokL2xwepv6S19f66OzM=
WZ1RrJ3c6ZmAMB4AfMJsJQeIHi8=
</data>
<key>Headers/XHMessageTextView.h</key>
<data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@

@property (nonatomic, assign, readonly) XHInputViewType textViewInputViewType;

@property (nonatomic, assign, setter=activityIndicatorViewStyle:) UIActivityIndicatorViewStyle activityIndicatorViewStyle;
@property (nonatomic, assign) UIActivityIndicatorViewStyle loadMoreActivityIndicatorViewStyle;

/**
* 数据源,显示多少消息
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,9 @@ - (void)setLoadingMoreMessage:(BOOL)loadingMoreMessage {
[self.loadMoreActivityIndicatorView stopAnimating];
}
}
- (void)setActivityIndicatorViewStyle:(UIActivityIndicatorViewStyle)activityIndicatorViewStyle {
self.loadMoreActivityIndicatorView.activityIndicatorViewStyle = activityIndicatorViewStyle;
- (void)setLoadMoreActivityIndicatorViewStyle:(UIActivityIndicatorViewStyle)loadMoreActivityIndicatorViewStyle {
_loadMoreActivityIndicatorViewStyle = loadMoreActivityIndicatorViewStyle;
self.loadMoreActivityIndicatorView.activityIndicatorViewStyle = loadMoreActivityIndicatorViewStyle;
}

- (XHShareMenuView *)shareMenuView {
Expand Down

0 comments on commit 465f5e3

Please sign in to comment.