IVTMeUserView.h
1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//
// IVTMeUserView.h
// IVTMeLive
//
// Created by XRG on 16/5/13.
// Copyright © 2016年 Joky. All rights reserved.
//
#import <UIKit/UIKit.h>
@class IVTMeUserView;
@protocol IVTMeUserDelegate <NSObject>
- (void)isFollow:(BOOL)isFollowed meUserView:(IVTMeUserView *)viewOfSelf;//点击关注后
- (void)showUserInfo:(IVTMeUserView *)viewOfSelf;//主页
- (void)showmessage:(IVTMeUserView *)viewOfSelf;//私信
- (void)showManagement:(IVTMeUserView *)viewOfSelf;//管理
- (void)showJuBao:(IVTMeUserView *)viewOfSelf;//举报
@end
@interface IVTMeUserView : UIView
@property (nonatomic) BOOL isPullStream;//观看直播
@property (nonatomic) BOOL isZhuBo;//是否是看主播的信息
@property (nonatomic) BOOL isManager;//此人是否是管理员
@property (nonatomic) BOOL isSetManager;//自己是否是管理员
@property (nonatomic,copy) NSDictionary *entity;
@property(nonatomic,weak)id<IVTMeUserDelegate>delegate;
/*
关注、粉丝等区
*/
@property (nonatomic,strong) UIButton *follow;
@property (nonatomic,strong) UILabel *followLabel;
@property (nonatomic,strong) UIButton *fans;
@property (nonatomic,strong) UILabel *fansLabel;
@property (nonatomic,strong) UIButton *like;
@property (nonatomic,strong) UILabel *likeLabel;
@property (nonatomic,strong) UIButton *live;
@property (nonatomic,strong) UILabel *liveLabel;
@property (nonatomic,strong) UIView* lineView1;
@property (nonatomic,strong) UIView* lineView2;
@property (nonatomic,strong) UIView* lineView3;
@property (nonatomic,strong) UIView* lineView4;
@property (nonatomic,strong) UIView* lineView5;
+ (IVTMeUserView *)sharedInstance;
- (void)setUI;
- (void)show;
- (void)hidden;
@end