1234567891011121314151617181920212223242526272829303132 |
- //
- // FKMyBookDataSource.h
- // FirstLink
- //
- // Created by jack on 16/4/29.
- // Copyright © 2016年 FirstLink. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- typedef NS_ENUM(NSUInteger, BookContentType) {
- BookContentTypeNormal = 0,
- BookContentTypeRecommend,
- };
- @protocol FKMyBookDataSource <NSObject>
- @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
|