ifish/Ifish/controllers/HotBar/categry/UIView+GetView.m

16 lines
342 B
Objective-C

//
// UIView+GetView.m
// HaiNingApp
//
// Created by 罗艺 on 2017/8/17.
// Copyright © 2017年 罗艺. All rights reserved.
//
#import "UIView+GetView.h"
@implementation UIView (GetView)
+(instancetype)getView{
return [[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:nil options:nil].lastObject;
}
@end