You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
735 B
33 lines
735 B
1 year ago
|
//
|
||
|
// HomeEmptyView.m
|
||
|
// tongxin
|
||
|
//
|
||
|
// Created by ArJun on 2018/7/26.
|
||
|
// Copyright © 2018年 xTT. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "HomeEmptyView.h"
|
||
|
|
||
|
@implementation HomeEmptyView
|
||
|
|
||
|
/*
|
||
|
// Only override drawRect: if you perform custom drawing.
|
||
|
// An empty implementation adversely affects performance during animation.
|
||
|
- (void)drawRect:(CGRect)rect {
|
||
|
// Drawing code
|
||
|
}
|
||
|
*/
|
||
|
+ (instancetype)viewFirstXib
|
||
|
{
|
||
|
NSArray * array = [[NSBundle mainBundle] loadNibNamed:@"HomeEmptyView" owner:nil options:nil];
|
||
|
return [array firstObject];
|
||
|
}
|
||
|
-(void)awakeFromNib{
|
||
|
[super awakeFromNib];
|
||
|
self.addDevice.backgroundColor = mainColor;
|
||
|
self.addDevice.layer.cornerRadius = 3;
|
||
|
self.addDevice.layer.masksToBounds = YES;
|
||
|
}
|
||
|
|
||
|
@end
|