// // DNPhotoBrowserViewController.h // ImagePicker // // Created by DingXiao on 15/2/28. // Copyright (c) 2015年 Dennis. All rights reserved. // #import @class DNImageFlowViewController; @class DNPhotoBrowser; @class DNAsset; @protocol DNPhotoBrowserDelegate @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 delegate; - (instancetype)initWithPhotos:(NSArray *)photosArray currentIndex:(NSInteger)index fullImage:(BOOL)isFullImage; - (void)hideControls; - (void)toggleControls; @end