1234567891011121314151617181920212223242526 |
- //
- // LDPicCollectionViewCell.m
- // YouHuiProject
- //
- // Created by 小花 on 2018/1/23.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "LDPicCollectionViewCell.h"
- @implementation LDPicCollectionViewCell
- - (instancetype)initWithFrame:(CGRect)frame{
-
-
- if (self = [super initWithFrame:frame]) {
- _image = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.bounds.size.width , self.bounds.size.height)];
- _image.layer.borderColor = [UIColor redColor].CGColor;
- _image.layer.borderWidth = 1;
- [self.contentView addSubview:_image];
-
- }
- return self;
-
- }
- @end
|