CNGoldWhereaboutsView.h
936 Bytes
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
//
// CNGoldWhereaboutsView.h
// CNLiveNetAdd
//
// Created by CNLive-zxw on 2019/2/28.
// Copyright © 2019年 cnlive. All rights reserved.
//
#import "CAEmitterLayerView.h"
NS_ASSUME_NONNULL_BEGIN
@class CNScoreModel;
@protocol CNGoldWhereaboutsViewDelegate <NSObject>
@optional
- (void)login;
@end
typedef NS_ENUM(NSUInteger, CNGoldWhereaboutsViewType) {
CNGoldWhereaboutsViewTypeDefault,//熊猫
CNGoldWhereaboutsViewTypeSignIn,//签到
CNGoldWhereaboutsViewTypeLogin,//熊猫
};
@interface CNGoldWhereaboutsView : CAEmitterLayerView
@property (nonatomic, weak) id<CNGoldWhereaboutsViewDelegate> delegate;
// 游客模式浏览加积分
+ (void)showGoldWhereaboutsViewWithDesc:(NSString *)desc delegate:(id<CNGoldWhereaboutsViewDelegate>) delegate;
// 默认展示添加积分视图
+ (void)showGoldWhereaboutsViewWithDesc:(NSString *)desc score:(NSString *)score;
+ (void)hide;
@end
NS_ASSUME_NONNULL_END