//
//  KWMEmptyViewList.m
//  iMicroBusiness
//
//  Created by Cody on 3/11/16.
//  Copyright © 2016 kwm. All rights reserved.
//

#import "KWMEmptyViewList.h"
#import "KWMStringUtil.h"

@implementation KWMEmptyViewList

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        [[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class])
                                      owner:self
                                    options:nil];
        self.vContent.frame = CGRectMake(0, 0, self.frame.size.width, self.frame.size.height);
        [self addSubview:self.vContent];
        self.userInteractionEnabled = NO;
        self.vContent.backgroundColor = [UIColor clearColor];
    }
    return self;
}

- (void)setText:(NSString *)text {
    _text = text;
    self.lbText.text = [KWMStringUtil nonNullString:text];
}

@end