更换项目

This commit is contained in:
liyuhua
2023-07-14 18:50:55 +08:00
parent fff67e0aee
commit fc0480ea2c
9340 changed files with 236665 additions and 221827 deletions

View File

@@ -0,0 +1,29 @@
//
// YMShareView.h
// YMRoomMoudle
//
// Created by YUMI on 2022/9/2.
// Copyright © 2023 YUMI. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "XPShareItem.h"
#import "XPShareInfoModel.h"
@class XPShareView;
@protocol XCShareViewDelegate <NSObject>
///点了取消分享
- (void)shareViewDidClickCancel:(XPShareView *)shareView;
///分享成功
- (void)shareView:(XPShareView *)shareView didSuccess:(XPShareInfoModel *)shareInfo;
///分享失败
- (void)shareView:(XPShareView *)shareView shareFail:(NSString *)message;
@end;
@interface XPShareView : UIView
@property (nonatomic, weak) id<XCShareViewDelegate> delegate;
- (instancetype)initWithItems:(NSArray<XPShareItem *> *)items itemSize:(CGSize)itemSize shareInfo:(XPShareInfoModel *)shareInfo;
@end