1234567891011121314151617181920212223242526272829303132333435 |
- //
- // DNPhotoBrowserViewController.h
- // ImagePicker
- //
- // Created by DingXiao on 15/2/28.
- // Copyright (c) 2015年 Dennis. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- @class DNImageFlowViewController;
- @class DNPhotoBrowser;
- @class DNAsset;
- @protocol DNPhotoBrowserDelegate <NSObject>
- @required
- - (void)sendImagesFromPhotobrowser:(DNPhotoBrowser *)photoBrowse currentAsset:(DNAsset *)asset;
- - (NSUInteger)seletedPhotosNumberInPhotoBrowser:(DNPhotoBrowser *)photoBrowser;
- - (BOOL)photoBrowser:(DNPhotoBrowser *)photoBrowser currentPhotoAssetIsSeleted:(DNAsset *)asset;
- - (BOOL)photoBrowser:(DNPhotoBrowser *)photoBrowser seletedAsset:(DNAsset *)asset;
- - (void)photoBrowser:(DNPhotoBrowser *)photoBrowser deseletedAsset:(DNAsset *)asset;
- - (void)photoBrowser:(DNPhotoBrowser *)photoBrowser seleteFullImage:(BOOL)fullImage;
- @end
- @interface DNPhotoBrowser : UIViewController
- @property (nonatomic, weak) id<DNPhotoBrowserDelegate> delegate;
- - (instancetype)initWithPhotos:(NSArray *)photosArray
- currentIndex:(NSInteger)index
- fullImage:(BOOL)isFullImage;
- - (void)hideControls;
- - (void)toggleControls;
- @end
|