AJPhotoListCell.h 887 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // AJPhotoListCell.h
  3. // AJPhotoPicker
  4. //
  5. // Created by AlienJunX on 15/11/2.
  6. // Copyright (c) 2015 AlienJunX
  7. //
  8. // This source code is licensed under the MIT-style license found in the
  9. // LICENSE file in the root directory of this source tree.
  10. //
  11. #import <UIKit/UIKit.h>
  12. #import "TZImageManager.h"
  13. @class ALAsset;
  14. @interface AJPhotoListCell : UICollectionViewCell
  15. @property (nonatomic, strong) UIButton *selectButton;
  16. /**
  17. * 显示照片
  18. *
  19. * @param model 照片
  20. * @param selectionFilter 过滤器
  21. * @param isSelected YES选中,NO取消选中
  22. */
  23. - (void)bind:(TZAssetModel *)model selectionFilter:(NSPredicate*)selectionFilter isSelected:(BOOL)isSelected;
  24. /**
  25. * 选中
  26. *
  27. * @param isSelected YES选中,NO取消选中
  28. */
  29. - (void)isSelected:(BOOL)isSelected;
  30. //点击按钮
  31. @property (nonatomic,copy) void (^didClckSelectBut)(BOOL isSelect);
  32. @end