// // 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