chore: Initial clean commit
- Removed YuMi/Library/ (138 MB, not tracked) - Removed YuMi/Resources/ (23 MB, not tracked) - Removed old version assets (566 files, not tracked) - Excluded Pods/, xcuserdata/ and other build artifacts - Clean repository optimized for company server deployment
This commit is contained in:
39
YuMi/Tools/SDPhotoBrowser/SDPhotoBrowser.h
Executable file
39
YuMi/Tools/SDPhotoBrowser/SDPhotoBrowser.h
Executable file
@@ -0,0 +1,39 @@
|
||||
//
|
||||
// SDPhotoBrowser.h
|
||||
// photobrowser
|
||||
//
|
||||
// Created by aier on 15-2-3.
|
||||
// Copyright (c) 2015年 aier. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
|
||||
@class SDButton, SDPhotoBrowser;
|
||||
|
||||
@protocol SDPhotoBrowserDelegate <NSObject>
|
||||
|
||||
@required
|
||||
|
||||
- (UIImage *)photoBrowser:(SDPhotoBrowser *)browser placeholderImageForIndex:(NSInteger)index;
|
||||
|
||||
@optional
|
||||
|
||||
- (NSURL *)photoBrowser:(SDPhotoBrowser *)browser highQualityImageURLForIndex:(NSInteger)index;
|
||||
- (UIImage *)photoBrowser:(SDPhotoBrowser *)browser highQualityImageForIndex:(NSInteger)index;
|
||||
@end
|
||||
|
||||
|
||||
@interface SDPhotoBrowser : UIView <UIScrollViewDelegate>
|
||||
|
||||
@property (nonatomic, weak) UIView *sourceImagesContainerView;
|
||||
@property (nonatomic, assign) NSInteger currentImageIndex;
|
||||
@property (nonatomic, assign) NSInteger imageCount;
|
||||
@property (nonatomic, assign) BOOL isMe;
|
||||
@property (nonatomic, assign) BOOL isAvatar;
|
||||
@property (nonatomic, assign) CGRect sourceImagesFrame;
|
||||
@property (nonatomic, strong) id<SDPhotoBrowserDelegate> delegate;
|
||||
@property (nonatomic, assign) BOOL isHaveUserAdd; // 为了区分当前页面的cell是否第一个是添加图片的Icon
|
||||
- (void)show;
|
||||
|
||||
@end
|
Reference in New Issue
Block a user