mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 21:01:31 +03:00
28 lines
491 B
Objective-C
28 lines
491 B
Objective-C
//
|
|
// QBAssetCell.m
|
|
// QBImagePicker
|
|
//
|
|
// Created by Katsuma Tanaka on 2015/04/03.
|
|
// Copyright (c) 2015 Katsuma Tanaka. All rights reserved.
|
|
//
|
|
|
|
#import "QBAssetCell.h"
|
|
|
|
@interface QBAssetCell ()
|
|
|
|
@property (weak, nonatomic) IBOutlet UIView *overlayView;
|
|
|
|
@end
|
|
|
|
@implementation QBAssetCell
|
|
|
|
- (void)setSelected:(BOOL)selected
|
|
{
|
|
[super setSelected:selected];
|
|
|
|
// Show/hide overlay view
|
|
self.overlayView.hidden = !(selected && self.showsOverlayViewWhenSelected);
|
|
}
|
|
|
|
@end
|