Initial commit
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// CollectionReusableView.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by ifish7-ios on 16/3/28.
|
||||
// Copyright © 2016年 imac. All rights reserved.
|
||||
//
|
||||
|
||||
#import "CollectionReusableView.h"
|
||||
|
||||
@implementation CollectionReusableView
|
||||
|
||||
-(instancetype)initWithFrame:(CGRect)frame{
|
||||
|
||||
self = [super initWithFrame:frame];
|
||||
|
||||
if (self) {
|
||||
self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 0, kScreenSize.width, 40)];
|
||||
self.titleLabel.textColor = [UIColor whiteColor];
|
||||
self.titleLabel.textAlignment = NSTextAlignmentLeft;
|
||||
[self addSubview:self.titleLabel];
|
||||
|
||||
}
|
||||
return self;
|
||||
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user