Initial commit
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// CollectionheaderView.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/2.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "CollectionheaderView.h"
|
||||
|
||||
@implementation CollectionheaderView
|
||||
-(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