32 lines
612 B
Objective-C
32 lines
612 B
Objective-C
//
|
|
// IfishLiveListViewCell.m
|
|
// CollectionViewTest
|
|
//
|
|
// Created by imac on 17/3/27.
|
|
// Copyright © 2017年 xiang. All rights reserved.
|
|
//
|
|
|
|
#import "IfishLiveListViewCell.h"
|
|
@interface IfishLiveListViewCell ()
|
|
|
|
@end
|
|
|
|
@implementation IfishLiveListViewCell
|
|
|
|
- (instancetype)initWithFrame:(CGRect)frame {
|
|
if (self = [super initWithFrame:frame]) {
|
|
UIImageView *imageView = [[UIImageView alloc] init];
|
|
[self addSubview:imageView];
|
|
_imageView = imageView;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
- (void)layoutSubviews {
|
|
[super layoutSubviews];
|
|
self.imageView.frame = self.bounds;
|
|
}
|
|
|
|
|
|
@end
|