123456789101112131415161718192021222324252627282930 |
- //
- // AddPictureCell.h
- // smartRhino
- //
- // Created by tederen on 2019/11/26.
- // Copyright © 2019 tederen. All rights reserved.
- //
- #import "TDTableViewCell.h"
- #import "FlowAttachmentsModel.h"
- NS_ASSUME_NONNULL_BEGIN
- @protocol AddPictureCellDelegate <NSObject>
- - (void)addPictureWith:(NSIndexPath *)index WithSuccess:(nullable void (^)( id _Nullable responseObject)) success failure:(nullable void (^)(NSError *error))failure;
- - (void)deletePictureWithCell:(NSIndexPath *)index SuperViewCellIndexPath:(NSIndexPath *)superIndex WithSuccess:(nullable void (^)( id _Nullable responseObject)) success failure:(nullable void (^)(NSError *error))failure;
- @end
- @interface AddPictureCell : TDTableViewCell
- @property (weak, nonatomic) IBOutlet UILabel *namelab;
- @property (weak, nonatomic) IBOutlet UIImageView *haveNeedImageView;
- @property (weak, nonatomic) IBOutlet UICollectionView *mycollectionView;
- @property (nonatomic, strong) NSMutableArray <FlowAttachmentsModel *>*approvalSection;
- @property (nonatomic,weak) id<AddPictureCellDelegate>delegate;
- @property (nonatomic, strong) NSIndexPath *index;
- @property (strong, nonatomic, nullable) NSString *placeholderImg;
- @property (nonatomic, copy) void(^ClickCellBlock)(NSInteger index);
- @end
- NS_ASSUME_NONNULL_END
|