35 lines
850 B
Objective-C
35 lines
850 B
Objective-C
//
|
|
// TLConversationAngel.h
|
|
// TLChat
|
|
//
|
|
// Created by 李伯坤 on 2017/12/26.
|
|
// Copyright © 2017年 李伯坤. All rights reserved.
|
|
//
|
|
|
|
#import <ZZFLEX/ZZFlexibleLayoutFramework.h>
|
|
|
|
typedef NS_ENUM(NSInteger, TLConversationSectionTag) {
|
|
TLConversationSectionTagAlert,
|
|
TLConversationSectionTagTopArticle,
|
|
TLConversationSectionTagPlay,
|
|
TLConversationSectionTagTopConversation,
|
|
TLConversationSectionTagConv,
|
|
};
|
|
|
|
typedef NS_ENUM(NSInteger, TLConversationCellTag) {
|
|
TLConversationCellTagNoNet,
|
|
};
|
|
|
|
|
|
@interface TLConversationAngel : ZZFLEXAngel <
|
|
UITableViewDelegate
|
|
>
|
|
|
|
@property (nonatomic, copy) void (^badgeStatusChangeAction)(NSString *badge);
|
|
|
|
- (instancetype)initWithHostView:(__kindof UIScrollView *)hostView badgeStatusChangeAction:(void (^)(NSString *badge))badgeStatusChangeAction;
|
|
|
|
- (void)reloadBadge;
|
|
|
|
@end
|