// // FKMyBookDataSource.h // FirstLink // // Created by jack on 16/4/29. // Copyright © 2016年 FirstLink. All rights reserved. // #import typedef NS_ENUM(NSUInteger, BookContentType) { BookContentTypeNormal = 0, BookContentTypeRecommend, }; @protocol FKMyBookDataSource @required @property (nonatomic, strong) NSArray *itemArray; @property (nonatomic, assign, readonly) BookContentType contentType; @property (nonatomic, assign, readonly) BOOL enableBottomRefresh; - (NSInteger)numberOfRowsInSection:(NSInteger)section; - (NSString *)cellIdentify; - (CGFloat)heightForRowAtIndexPath:(NSIndexPath *)indexPath; - (CGFloat)heightForHeaderInSection:(NSInteger)section; - (void)appendMoreItem:(NSArray *)moreArray; - (id)proModelAtIndex:(NSUInteger)index; @end