|
|
@@ -61,12 +61,13 @@
|
|
|
- (UIView *)selectionView {
|
|
|
if (!_selectionView) {
|
|
|
_selectionView = [UIView new];
|
|
|
- _selectionView.backgroundColor = [UIColor redColor];
|
|
|
+ unsigned long color = strtoul([@"0xaad3df" UTF8String],0,16);
|
|
|
+ _selectionView.backgroundColor = UIColorFromRGB(color);
|
|
|
|
|
|
_selectionView.layer.cornerRadius = 5.0f;
|
|
|
_selectionView.layer.masksToBounds = YES;
|
|
|
- _selectionView.layer.shadowColor = [UIColor redColor].CGColor;
|
|
|
- _selectionView.layer.borderColor = [UIColor redColor].CGColor;
|
|
|
+ _selectionView.layer.shadowColor = UIColorFromRGB(color).CGColor;
|
|
|
+ _selectionView.layer.borderColor = UIColorFromRGB(color).CGColor;
|
|
|
_selectionView.layer.borderWidth = 0.5f;
|
|
|
}
|
|
|
return _selectionView;
|