Initial commit
This commit is contained in:
+31
@@ -0,0 +1,31 @@
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user