//
//  UIView+OJAKit.h
//  OJAKitDemo
//
//  Created by luxiaoming on 16/10/12.
//  Copyright © 2016年 luxiaoming. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (OJAKit)

+ (instancetype)loadFromNib;

@end




@interface UITableViewCell (OJAKit)

+ (UINib *)nib;

+ (NSString *)oja_reuseIdentifier;

- (void)configureWithData:(id)data indexPath:(NSIndexPath *)indexPath;

@end



@interface UICollectionReusableView (OJAKit)

+ (UINib *)nib;

+ (NSString *)oja_reuseIdentifier;

- (void)configureWithData:(id)data indexPath:(NSIndexPath *)indexPath;

@end
