12345678910111213141516171819202122232425 |
- //
- // UIView+Nib.h
- // Created by MacKun on 15/4/25.
- // Copyright (c) 2015年 MacKun All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import <QuartzCore/QuartzCore.h>
- @interface UIView (Nib)
- + (UINib *)loadNib;
- /**
- * 快速根据xib创建View
- */
- + (instancetype )loadNibView;
- + (UINib *)loadNibNamed:(NSString*)nibName;
- + (UINib *)loadNibNamed:(NSString*)nibName bundle:(NSBundle *)bundle;
- + (instancetype)loadInstanceFromNib;
- + (instancetype)loadInstanceFromNibWithName:(NSString *)nibName;
- + (instancetype)loadInstanceFromNibWithName:(NSString *)nibName owner:(id)owner;
- + (instancetype)loadInstanceFromNibWithName:(NSString *)nibName owner:(id)owner bundle:(NSBundle *)bundle;
- @end
|