Nessuna descrizione

QBAssetCell.m 491B

12345678910111213141516171819202122232425262728
  1. //
  2. // QBAssetCell.m
  3. // QBImagePicker
  4. //
  5. // Created by Katsuma Tanaka on 2015/04/03.
  6. // Copyright (c) 2015 Katsuma Tanaka. All rights reserved.
  7. //
  8. #import "QBAssetCell.h"
  9. @interface QBAssetCell ()
  10. @property (weak, nonatomic) IBOutlet UIView *overlayView;
  11. @end
  12. @implementation QBAssetCell
  13. - (void)setSelected:(BOOL)selected
  14. {
  15. [super setSelected:selected];
  16. // Show/hide overlay view
  17. self.overlayView.hidden = !(selected && self.showsOverlayViewWhenSelected);
  18. }
  19. @end