新配置界面
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// UIView+GetView.h
|
||||
// HaiNingApp
|
||||
//
|
||||
// Created by 罗艺 on 2017/8/17.
|
||||
// Copyright © 2017年 罗艺. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface UIView (GetView)
|
||||
+(instancetype)getView;
|
||||
@end
|
||||
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user