IVTMeUserView.h 1.64 KB
//
//  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