32 lines
642 B
Objective-C
32 lines
642 B
Objective-C
//
|
|
// XPSendGiftView.h
|
|
// xplan-ios
|
|
//
|
|
// Created by 冯硕 on 2021/11/9.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
typedef NS_ENUM(NSInteger, SendGiftType) {
|
|
SendGiftType_Room = 1, ///房间内送礼物
|
|
SendGiftType_User, ///送给某一个人
|
|
};
|
|
|
|
|
|
@interface XPSendGiftView : UIView
|
|
|
|
/// 送礼物的
|
|
/// @param type 送礼物的类型
|
|
/// @param uid 送礼物的人
|
|
- (instancetype)initWithType:(SendGiftType)type uid:(NSString *)uid;
|
|
|
|
- (instancetype)init NS_UNAVAILABLE;
|
|
+ (instancetype)new NS_UNAVAILABLE;
|
|
- (instancetype)copy NS_UNAVAILABLE;
|
|
- (instancetype)mutableCopy NS_UNAVAILABLE;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|