admin
2023-04-21 0b3a4aaf99ea251bc8e27b96115288f0988fcffe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//
//  GuessYouLikeCollectionViewCell.m
//  mgysVideo
//
//  Created by weikou on 16/7/8.
//  Copyright © 2016年 wgj. All rights reserved.
//
 
#import "GuessYouLikeCollectionViewCell.h"
 
@implementation GuessYouLikeCollectionViewCell
 
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.commentVV.textColor=kGlobalLightGreyColor_210;
    self.CommentNub.textColor=kGlobalLightGreyColor_210;
    //添加阴影
    self.layer.masksToBounds = NO;
    self.layer.contentsScale = [UIScreen mainScreen].scale;
    self.layer.shadowOpacity = 0.7f;
    self.layer.shadowRadius = 1.0f;
    self.layer.shadowOffset = CGSizeMake(0,2);
    self.layer.shadowColor = kGlobalLightGreyColor_223.CGColor;
    //设置缓存
    self.layer.shouldRasterize = YES;
    //设置抗锯齿边缘
    self.layer.rasterizationScale = [UIScreen mainScreen].scale;
}
 
@end