ZKReadStone
2018-06-13 15:58:15浏览 2033
#import <UIKit/UIKit.h>
@interface TextV : UIView
@end
#import "TextV.h"
@interface TextV ()
@property (strong, nonatomic) IBOutlet UIView *containerView;
@end
@implementation TextV
- (instancetype)initWithCoder:(NSCoder *)aDecoder{
if (self = [super initWithCoder:aDecoder]) {
self.containerView = [[[UINib nibWithNibName:NSStringFromClass([self class]) bundle:nil] instantiateWithOwner:self options:nil] lastObject];
self.containerView.frame = self.bounds;
[self addSubview:self.containerView];
}
return self;
}
-(void)awakeFromNib
{
[super awakeFromNib];
}
@end